website/content/fr/examples/service/access/hello-application.yaml

21 lines
438 B
YAML
Raw Normal View History

2023-07-10 08:57:32 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-world
spec:
selector:
matchLabels:
run: load-balancer-example
replicas: 2
template:
metadata:
labels:
run: load-balancer-example
spec:
containers:
- name: hello-world
image: us-docker.pkg.dev/google-samples/containers/gke/hello-app:2.0
2023-07-10 08:57:32 +00:00
ports:
- containerPort: 8080
protocol: TCP