mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 08:17:26 +00:00
update examples/cluster-dns to v1
This commit is contained in:
parent
3e7bcd1ecc
commit
ecce669651
@ -1,4 +1,4 @@
|
|||||||
apiVersion: v1beta3
|
apiVersion: v1
|
||||||
kind: ReplicationController
|
kind: ReplicationController
|
||||||
metadata:
|
metadata:
|
||||||
name: dns-backend
|
name: dns-backend
|
||||||
@ -19,4 +19,3 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- name: backend-port
|
- name: backend-port
|
||||||
containerPort: 8000
|
containerPort: 8000
|
||||||
protocol: tcp
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
kind: Service
|
kind: Service
|
||||||
apiVersion: v1beta3
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: dns-backend
|
name: dns-backend
|
||||||
spec:
|
spec:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
apiVersion: v1beta3
|
apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
name: dns-frontend
|
name: dns-frontend
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
apiVersion: v1beta3
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: "development"
|
name: "development"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
apiVersion: v1beta3
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: "production"
|
name: "production"
|
||||||
|
Loading…
Reference in New Issue
Block a user