blob: 50a3758a996a2dbed8794c8b4a81688b1a0aacb1 [file] [log] [blame]
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-host-network
namespace: sample
spec:
replicas: 7
selector:
matchLabels:
app: hello-host-network
tier: backend
track: stable
template:
metadata:
labels:
app: hello-host-network
tier: backend
track: stable
spec:
containers:
- name: hello-host-network
image: "fake.docker.io/google-samples/hello-go-gke:1.0"
ports:
- name: http
containerPort: 80
hostNetwork: true