You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my current usecase I want to add a service of type NodePort. Currently this is possible but without the ability to specify the nodePort itself.
So if I create a service of type NodePort I get a service with a (by kubernetes) randomly added NodePort between 30000-32767
apiVersion: v1kind: Servicemetadata:
name: my-servicespec:
type: NodePortselector:
app: myappports:
# By default and for convenience, the `targetPort` is set to the same value as the `port` field.
- port: 80targetPort: 80# Optional field# By default and for convenience, the Kubernetes control plane will allocate a port from a range (default: 30000-32767)nodePort: 30007
In my current usecase I want to add a service of type
NodePort
. Currently this is possible but without the ability to specify thenodePort
itself.So if I create a service of type
NodePort
I get a service with a (by kubernetes) randomly addedNodePort
between30000-32767
Official docs:
https://kubernetes.io/docs/concepts/services-networking/service/#nodeport
Expected input:
expected outcome:
The old libsonnet generator has it:
kapitan-reference/lib/kap.libsonnet
Line 132 in 92b13dc
The new kadet generator doesn't honor the
node_port
kapitan-reference/components/generators/kubernetes/__init__.py
Lines 275 to 293 in cfe6f51
So I exceeded my knowledge and time to solve this issue myself 👎
The text was updated successfully, but these errors were encountered: