Move deployment example to docs/user-guide
This commit is contained in:
@@ -231,6 +231,7 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"nginx-deployment": &extensions.Deployment{},
|
||||
"new-nginx-deployment": &extensions.Deployment{},
|
||||
"replication": &api.ReplicationController{},
|
||||
"deployment": &extensions.Deployment{},
|
||||
},
|
||||
"../docs/admin": {
|
||||
"daemon": &extensions.DaemonSet{},
|
||||
@@ -388,9 +389,6 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"../examples/fibre_channel": {
|
||||
"fc": &api.Pod{},
|
||||
},
|
||||
"../examples/extensions": {
|
||||
"deployment": &extensions.Deployment{},
|
||||
},
|
||||
"../examples/javaweb-tomcat-sidecar": {
|
||||
"javaweb": &api.Pod{},
|
||||
"javaweb-2": &api.Pod{},
|
||||
|
@@ -1,21 +0,0 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nginx-deployment
|
||||
labels:
|
||||
name: nginx-deployment
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
name: nginx
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
name: nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx
|
||||
ports:
|
||||
- containerPort: 80
|
Reference in New Issue
Block a user