Revert "Use a Deployment for kube-dns"

This commit is contained in:
Zihong Zheng
2016-09-10 20:29:00 -07:00
committed by GitHub
parent b73aa59901
commit dce1c06ad3
5 changed files with 42 additions and 54 deletions

View File

@@ -12,12 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# This file should be kept in sync with cluster/images/hyperkube/dns-rc.yaml
# TODO - At some point, we need to rename all skydns-*.yaml.* files to kubedns-*.yaml.*
# __MACHINE_GENERATED_WARNING__
apiVersion: extensions/v1beta1
kind: Deployment
apiVersion: v1
kind: ReplicationController
metadata:
name: kube-dns-v19
namespace: kube-system
@@ -28,9 +30,8 @@ metadata:
spec:
replicas: __PILLAR__DNS__REPLICAS__
selector:
matchLabels:
k8s-app: kube-dns
version: v19
k8s-app: kube-dns
version: v19
template:
metadata:
labels:

View File

@@ -12,12 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# This file should be kept in sync with cluster/images/hyperkube/dns-rc.yaml
# TODO - At some point, we need to rename all skydns-*.yaml.* files to kubedns-*.yaml.*
# Warning: This is a file generated from the base underscore template file: skydns-rc.yaml.base
apiVersion: extensions/v1beta1
kind: Deployment
apiVersion: v1
kind: ReplicationController
metadata:
name: kube-dns-v19
namespace: kube-system
@@ -28,9 +30,8 @@ metadata:
spec:
replicas: {{ pillar['dns_replicas'] }}
selector:
matchLabels:
k8s-app: kube-dns
version: v19
k8s-app: kube-dns
version: v19
template:
metadata:
labels:

View File

@@ -12,12 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# This file should be kept in sync with cluster/images/hyperkube/dns-rc.yaml
# TODO - At some point, we need to rename all skydns-*.yaml.* files to kubedns-*.yaml.*
# Warning: This is a file generated from the base underscore template file: skydns-rc.yaml.base
apiVersion: extensions/v1beta1
kind: Deployment
apiVersion: v1
kind: ReplicationController
metadata:
name: kube-dns-v19
namespace: kube-system
@@ -28,9 +30,8 @@ metadata:
spec:
replicas: $DNS_REPLICAS
selector:
matchLabels:
k8s-app: kube-dns
version: v19
k8s-app: kube-dns
version: v19
template:
metadata:
labels: