Skip to content

ports

ports value in Kubedeploy can be used to define main container exposed ports. User can define container exposed ports see: containerPort for example

Note

By default container ports are undefined.

As bare minimum, ports should take a list of contarinerPort, however user can name the ports and define port protocol.

Define main container exposed ports

values.yaml
nameOverride: my-app
image:
  repository: nginx
  tag: latest

ports:
  # minimal configuration
  - containerPort: 80
  # extended configuration
  - contarinerPort: 8080
    name: extrahttp
    protocol: TCP
Deploy command
helm install webapp sysbee/kubedeploy -f values.yaml

Note

additionalContainer can define their own exposed ports, for more info see the related configuration values

Note

service and ingress will require at least one exposed port to properly route traffic to your application. For more info see the related configuration values.

See also: