Use deployment for kube-dns

This commit is contained in:
MrHohn
2016-09-02 16:00:48 -07:00
parent 11765ab92e
commit b5c17fa3cd
5 changed files with 54 additions and 42 deletions

View File

@@ -12,14 +12,12 @@
# 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: v1
kind: ReplicationController
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kube-dns-v19
namespace: kube-system
@@ -30,8 +28,9 @@ metadata:
spec:
replicas: __PILLAR__DNS__REPLICAS__
selector:
k8s-app: kube-dns
version: v19
matchLabels:
k8s-app: kube-dns
version: v19
template:
metadata:
labels:

View File

@@ -12,14 +12,12 @@
# 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: v1
kind: ReplicationController
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kube-dns-v19
namespace: kube-system
@@ -30,8 +28,9 @@ metadata:
spec:
replicas: {{ pillar['dns_replicas'] }}
selector:
k8s-app: kube-dns
version: v19
matchLabels:
k8s-app: kube-dns
version: v19
template:
metadata:
labels:

View File

@@ -12,14 +12,12 @@
# 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: v1
kind: ReplicationController
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kube-dns-v19
namespace: kube-system
@@ -30,8 +28,9 @@ metadata:
spec:
replicas: $DNS_REPLICAS
selector:
k8s-app: kube-dns
version: v19
matchLabels:
k8s-app: kube-dns
version: v19
template:
metadata:
labels: