-
Notifications
You must be signed in to change notification settings - Fork 125
v1.42.1 removes service port #212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
to be precise ; the above, is what I get too via ArgoCD but running helm template locally, I get :
and on the pod :
which are removed as they do not match the api specification |
flux diff on my end: --- HelmRelease: kube-system/coredns Service: kube-system/kube-dns
+++ HelmRelease: kube-system/coredns Service: kube-system/kube-dns
@@ -19,12 +19,8 @@
clusterIP: 10.96.0.10
ports:
- name: udp-53
port: 53
protocol: UDP
targetPort: 53
- - name: tcp-53
- port: 53
- protocol: TCP
- targetPort: 53
type: ClusterIP values: ---
priorityClassName: system-cluster-critical
k8sAppLabelOverride: kube-dns
replicaCount: 2
service:
name: kube-dns
clusterIP: 10.96.0.10
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: Exists
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
- key: node.kubernetes.io/unschedulable
operator: Exists
effect: NoSchedule
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/instance: coredns |
Looks to be related to this commit. |
Got exactly the same issue with ArgoCD when the zone was configured like that (basically default values): - zones:
- zone: . Explicitly added the scheme and use TCP: - zones:
- zone: .
scheme: dns://
use_tcp: true No more error, service manifest seems to be correct. |
Service "coredns" is invalid: spec.ports: Required value
The text was updated successfully, but these errors were encountered: