remove unused code (#4981)

This commit is contained in:
刘旭
2019-07-16 16:39:24 +08:00
committed by Kubernetes Prow Robot
parent 99c5f7e013
commit de9443a694
36 changed files with 6 additions and 100 deletions

View File

@@ -26,9 +26,7 @@ spec:
prometheus.io/port: "9090"
{% endif %}
spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-node-critical
{% endif %}
serviceAccountName: cilium
initContainers:
- name: clean-cilium-state

View File

@@ -16,9 +16,7 @@ spec:
labels:
k8s-app: contiv-api-proxy
spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-node-critical
{% endif %}
# The API proxy must run in the host network namespace so that
# it isn't governed by policy that would prevent it from working.
hostNetwork: true

View File

@@ -15,9 +15,7 @@ spec:
labels:
k8s-app: contiv-cleanup
spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-node-critical
{% endif %}
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
hostPID: true

View File

@@ -15,9 +15,7 @@ spec:
labels:
k8s-app: contiv-etcd-proxy
spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-node-critical
{% endif %}
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
hostPID: true

View File

@@ -15,9 +15,7 @@ spec:
labels:
k8s-app: contiv-etcd
spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-node-critical
{% endif %}
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
hostPID: true

View File

@@ -16,9 +16,7 @@ spec:
labels:
k8s-app: contiv-netmaster
spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-node-critical
{% endif %}
# The netmaster must run in the host network namespace so that
# it isn't governed by policy that would prevent it from working.
hostNetwork: true

View File

@@ -20,9 +20,7 @@ spec:
labels:
k8s-app: contiv-netplugin
spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-node-critical
{% endif %}
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
hostPID: true

View File

@@ -17,9 +17,7 @@ spec:
labels:
k8s-app: contiv-ovs
spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-node-critical
{% endif %}
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
hostPID: true

View File

@@ -52,9 +52,7 @@ spec:
tier: node
k8s-app: flannel
spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-node-critical
{% endif %}
serviceAccountName: flannel
nodeSelector:
beta.kubernetes.io/os: linux

View File

@@ -61,9 +61,7 @@ spec:
k8s-app: kube-router
tier: node
spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-cluster-critical
{% endif %}
serviceAccountName: kube-router
containers:
- name: kube-router

View File

@@ -115,9 +115,7 @@ items:
labels:
name: weave-net
spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-node-critical
{% endif %}
containers:
- name: weave
command: