fix replicaset

This commit is contained in:
Pavel Selivanov
2018-08-03 08:12:13 +02:00
parent b6d4369066
commit ded9dbc2c1
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ metadata:
name: my-ingress name: my-ingress
spec: spec:
rules: rules:
- host: my.host.foo - host: students01.k8s.slurm.io
http: http:
paths: paths:
- backend: - backend:

View File

@@ -1,9 +1,9 @@
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: ReplicaSet kind: ReplicaSet
metadata: metadata:
name: my-replicaset-2 name: my-replicaset
spec: spec:
replicas: 0 replicas: 2
selector: selector:
matchLabels: matchLabels:
app: my-app app: my-app