apiVersion: v1 kind: ReplicationController metadata: name: nginx labels: app: nginx spec: replicas: 1 selector: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent ports: - containerPort: 80 --- apiVersion: v1 kind: Service metadata: name: nginx labels: app: nginx annotations: romanavip: '{"auto": false, "ip": "192.168.99.101"}' spec: ports: - protocol: TCP port: 80 targetPort: 80 selector: app: nginx