fundamental/gke/helloNode/hello-node-deployment.yaml (21 lines of code) (raw):
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
name: hello-node
name: hello-node
spec:
replicas: 1
selector:
matchLabels:
name: hello-node
template:
metadata:
labels:
name: hello-node
spec:
containers:
- image: asia.gcr.io/<project id>/hello-node:v1
name: hello-node
ports:
- containerPort: 8080