github.com/GoogleContainerTools/skaffold@v1.39.18/examples/multi-config-microservices/leeroy-web/kubernetes/deployment.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: leeroy-web
     5    labels:
     6      app: leeroy-web
     7  spec:
     8    replicas: 1
     9    selector:
    10      matchLabels:
    11        app: leeroy-web
    12    template:
    13      metadata:
    14        labels:
    15          app: leeroy-web
    16      spec:
    17        containers:
    18          - name: leeroy-web
    19            image: leeroy-web
    20            ports:
    21              - containerPort: 8080