blob: 5864be7b032f8abe04d8497a6e878c467a24189f [file] [log] [blame]
apiVersion: v1
kind: ReplicationController
metadata:
name: netexec
spec:
# Assumes you have 3 nodes in your cluster.
replicas: 3
template:
metadata:
labels:
app: netexec
spec:
containers:
- name: netexec
image: gcr.io/kubernetes-e2e-test-images/netexec:1.0
ports:
- containerPort: 8080
# This is to force these pods to land on different hosts.
# TODO: use the downward api and get podname instead.
hostPort: 81