kind: ReplicationController
apiVersion: v1
metadata:
  name: log-rc
spec:
  replicas: 1
  selector:
    app: log
  template:
    metadata:
      labels:
        app: log
    spec:
      containers:
      - name: log-container
        image: cn007b/pi
        ports:
          - containerPort: 8080
