Skip to content

Add nodeport/ingress service options #1

@ddieruf

Description

@ddieruf

Currently 'control-plane-deployment.yaml' gives the primary container the following option for port numbering:

ports:
  - name: http
    containerPort: {{ .Values.controlPlane.service.port }}
    protocol: TCP

The 'control-plane-service.yaml' uses the same port value to set the service.

spec:
  type: {{ .Values.controlPlane.service.type }}
  ports:
    - port: {{ .Values.controlPlane.service.port }}
      targetPort: http
      protocol: TCP
      name: http

If I set the 'type' to NodePort, but can't set a NodePort value then K8s will choose one for me. But I have no way of setting the container port so it will default to "8090". Which renders the service unhealthy and the control plane pod inaccessible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions