Skip to content

Commit 9e65068

Browse files
helm: Remove ovnkube-identity.replicas
Signed-off-by: Flavio Fernandes <[email protected]>
1 parent 3ee3201 commit 9e65068

File tree

7 files changed

+5
-27
lines changed

7 files changed

+5
-27
lines changed

contrib/kind-helm.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,6 @@ helm install ovn-kubernetes . -f "${value_file}" \
403403
--set k8sAPIServer=${API_URL} \
404404
--set podNetwork="${NET_CIDR_IPV4}/24" \
405405
--set serviceNetwork=${SVC_CIDR_IPV4} \
406-
--set ovnkube-identity.replicas=${MASTER_REPLICAS} \
407406
--set ovnkube-master.replicas=${MASTER_REPLICAS} \
408407
--set global.image.repository=$(get_image) \
409408
--set global.image.tag=$(get_tag) \

docs/features/infrastructure-security-controls/node-identity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Some of the allowed annotations have additional checks; for instance, the IP add
6565
must match the node's [k8s.ovn.org/node-subnets](https://github.com/ovn-org/ovn-kubernetes/blob/5d56a53df520a085e629cdc71be092afed9c3f0f/go-controller/pkg/util/subnet_annotations.go#L15-L39) networks.
6666

6767

68-
## Deployment
68+
## DaemonSet
6969

7070
In Kind,
7171
the feature is enabled by default and can be disabled with `--disable-ovnkube-identity` when creating the cluster.\

docs/installation/launching-ovn-kubernetes-with-helm.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ networking:
7171

7272
This chart does not use a `values.yaml` by default. You must specify a values file during installation.
7373

74-
- Run `helm install` with propery `k8sAPIServer`, `ovnkube-identity.replicas`, image repo and tag
74+
- Run `helm install` with propery `k8sAPIServer` image repo and tag
7575
```
7676
# cd helm/ovn-kubernetes
77-
# helm install ovn-kubernetes . -f values-no-ic.yaml --set k8sAPIServer="https://$(kubectl get pods -n kube-system -l component=kube-apiserver -o jsonpath='{.items[0].status.hostIP}'):6443" --set ovnkube-identity.replicas=$(kubectl get node -l node-role.kubernetes.io/control-plane --no-headers | wc -l) --set global.image.repository=ghcr.io/ovn-kubernetes/ovn-kubernetes/ovn-kube-ubuntu --set global.image.tag=master
77+
# helm install ovn-kubernetes . -f values-no-ic.yaml --set k8sAPIServer="https://$(kubectl get pods -n kube-system -l component=kube-apiserver -o jsonpath='{.items[0].status.hostIP}'):6443" --set global.image.repository=ghcr.io/ovn-kubernetes/ovn-kubernetes/ovn-kube-ubuntu --set global.image.tag=master
7878
```
7979

8080
## Alternative Configurations
@@ -606,15 +606,6 @@ false
606606
</td>
607607
<td>MTU of network interface in a Kubernetes pod</td>
608608
</tr>
609-
<tr>
610-
<td>ovnkube-identity.replicas</td>
611-
<td>int</td>
612-
<td><pre lang="json">
613-
1
614-
</pre>
615-
</td>
616-
<td>number of ovnube-identity pods, co-located with kube-apiserver process, so need to be the same number of control plane nodes</td>
617-
</tr>
618609
<tr>
619610
<td>podNetwork</td>
620611
<td>string</td>

helm/ovn-kubernetes/README.md.gotmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ networking:
9292
# kind load docker-image ghcr.io/ovn-kubernetes/ovn-kubernetes/ovn-kube-ubuntu:master
9393
```
9494

95-
- Run `helm install` with propery `k8sAPIServer`, `ovnkube-identity.replicas`, image repo and tag
95+
- Run `helm install` with propery `k8sAPIServer` image repo and tag
9696
```
9797
# cd helm/ovn-kubernetes
98-
# helm install ovn-kubernetes . -f values.yaml --set k8sAPIServer="https://$(kubectl get pods -n kube-system -l component=kube-apiserver -o jsonpath='{.items[0].status.hostIP}'):6443" --set ovnkube-identity.replicas=$(kubectl get node -l node-role.kubernetes.io/control-plane --no-headers | wc -l) --set global.image.repository=ghcr.io/ovn-kubernetes/ovn-kubernetes/ovn-kube-ubuntu --set global.image.tag=master
98+
# helm install ovn-kubernetes . -f values.yaml --set k8sAPIServer="https://$(kubectl get pods -n kube-system -l component=kube-apiserver -o jsonpath='{.items[0].status.hostIP}'):6443" --set global.image.repository=ghcr.io/ovn-kubernetes/ovn-kubernetes/ovn-kube-ubuntu --set global.image.tag=master
9999
```
100100

101101
## Notes:

helm/ovn-kubernetes/values-multi-node-zone.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,6 @@ global:
154154
# -- Image pull policy
155155
pullPolicy: IfNotPresent
156156

157-
ovnkube-identity:
158-
# -- number of ovnube-identity pods, co-located with kube-apiserver process, so need to be the same number of control plane nodes
159-
replicas: 1
160-
161157
# -- prometheus monitoring related fields
162158
monitoring:
163159
# -- specify the labels for serviceMonitors to be selected for target discovery.

helm/ovn-kubernetes/values-no-ic.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,6 @@ global:
167167
auth: blah_blah_blah
168168
create: false
169169

170-
ovnkube-identity:
171-
# -- number of ovnube-identity pods, co-located with kube-apiserver process, so need to be the same number of control plane nodes
172-
replicas: 1
173-
174170
ovnkube-master:
175171
# -- number of ovnkube-master pods
176172
replicas: 1

helm/ovn-kubernetes/values-single-node-zone.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,6 @@ global:
155155
# -- Image pull policy
156156
pullPolicy: IfNotPresent
157157

158-
ovnkube-identity:
159-
# -- number of ovnube-identity pods, co-located with kube-apiserver process, so need to be the same number of control plane nodes
160-
replicas: 1
161-
162158
# -- prometheus monitoring related fields
163159
monitoring:
164160
# -- specify the labels for serviceMonitors to be selected for target discovery.

0 commit comments

Comments
 (0)