我创建了kubernetes的docker本地安装,并且能够创建副本和服务,如下所示(来自):
rc:
apiVersion: v1
kind: ReplicationController
metadata:
name: nginx-controller
spec:
replicas: 2
# selector identifies the set of Pods that this
# replication controller is responsible for managing
selector:
app: nginx
# podTemplate de