cri-o/vendor/k8s.io/kubernetes/test/e2e/testing-manifests/serviceloadbalancer/netexecrc.yaml

21 lines
498 B
YAML
Raw Normal View History

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/google_containers/netexec:1.4
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