github.com/GoogleContainerTools/skaffold@v1.39.18/examples/react-reload-docker/k8s/deployment.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    name: node
     5  spec:
     6    ports:
     7    - port: 8080
     8    type: LoadBalancer
     9    selector:
    10      app: node
    11  ---
    12  apiVersion: apps/v1
    13  kind: Deployment
    14  metadata:
    15    name: node
    16  spec:
    17    selector:
    18      matchLabels:
    19        app: node
    20    template:
    21      metadata:
    22        labels:
    23          app: node
    24      spec:
    25        containers:
    26        - name: react
    27          image: react-reload-docker
    28          ports:
    29          - containerPort: 8080