apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    cloud-space: any
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{"cloud-space":"any"},"name":"python","namespace":"default"},"spec":{"replicas":3,"selector":{"matchLabels":{"app":"python"}},"template":{"metadata":{"labels":{"app":"python","port-num":"51462"}},"spec":{"containers":[{"command":["python","my-app","--port","51462"],"env":[{"name":"APP_LANG","value":"python"}],"image":"python:latest","name":"python","ports":[{"containerPort":51462}]}]}}}}
  name: python
  namespace: default
spec:
  replicas: 3
  selector:
    matchLabels:
      app: python
  template:
    metadata:
      labels:
        app: python
        port-num: "51462"
    spec:
      containers:
      - command:
        - python
        - my-app
        - --port
        - "51462"
        env:
        - name: APP_LANG
          value: python
        image: python:latest
        name: python
        ports:
        - containerPort: 51462
