mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 17:48:12 -03:30
Cleanup old checks for k8s 1.18 (#7192)
This commit is contained in:
@@ -112,13 +112,13 @@ spec:
|
||||
command: ["ovn4nfv-k8s", "check_ovn_control_plane"]
|
||||
periodSeconds: 3
|
||||
livenessProbe:
|
||||
exec:
|
||||
exec:
|
||||
command: ["ovn4nfv-k8s", "check_ovn_control_plane"]
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 7
|
||||
failureThreshold: 5
|
||||
nodeSelector:
|
||||
{{ 'beta.' if kube_version is version('v1.18.0', '<') }}kubernetes.io/os: "linux"
|
||||
kubernetes.io/os: "linux"
|
||||
ovn4nfv-k8s-plugin: ovn-control-plane
|
||||
volumes:
|
||||
- name: host-run-ovs
|
||||
@@ -158,7 +158,7 @@ spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: ovn-controller
|
||||
app: ovn-controller
|
||||
spec:
|
||||
tolerations:
|
||||
- operator: Exists
|
||||
@@ -214,7 +214,7 @@ spec:
|
||||
cpu: {{ ovn_controller_cpu_limit }}
|
||||
memory: {{ ovn_controller_memory_limit }}
|
||||
nodeSelector:
|
||||
{{ 'beta.' if kube_version is version('v1.18.0', '<') }}kubernetes.io/os: "linux"
|
||||
kubernetes.io/os: "linux"
|
||||
volumes:
|
||||
- name: host-modules
|
||||
hostPath:
|
||||
|
||||
@@ -482,7 +482,7 @@ spec:
|
||||
spec:
|
||||
hostNetwork: true
|
||||
nodeSelector:
|
||||
{{ 'beta.' if kube_version is version('v1.18.0', '<') }}kubernetes.io/arch: amd64
|
||||
kubernetes.io/arch: amd64
|
||||
tolerations:
|
||||
- operator: Exists
|
||||
effect: NoSchedule
|
||||
@@ -556,7 +556,7 @@ spec:
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
nodeSelector:
|
||||
{{ 'beta.' if kube_version is version('v1.18.0', '<') }}kubernetes.io/arch: amd64
|
||||
kubernetes.io/arch: amd64
|
||||
tolerations:
|
||||
- operator: Exists
|
||||
effect: NoSchedule
|
||||
|
||||
Reference in New Issue
Block a user