apiVersion: extensions/v1beta1 kind: Deployment metadata: labels: app: swift name: swift namespace: kube-system spec: template: metadata: labels: app: swift spec: containers: - args: - run - --v=3 - --connector=incluster image: appscode/swift:0.4.0 imagePullPolicy: Always name: swift ports: - containerPort: 9855 name: pt protocol: TCP - containerPort: 50055 name: tls protocol: TCP - containerPort: 56790 name: web protocol: TCP volumeMounts: - mountPath: /tmp name: chart-volume volumes: - name: chart-volume emptyDir: {} --- apiVersion: v1 kind: Service metadata: name: swift namespace: kube-system labels: app: swift spec: ports: - name: pt port: 9855 targetPort: pt - name: tls port: 50055 targetPort: web - name: web port: 56790 targetPort: web selector: app: swift