37 lines
765 B
YAML
37 lines
765 B
YAML
|
apiVersion: v1
|
||
|
kind: ReplicationController
|
||
|
metadata:
|
||
|
name: kube-ui-v1
|
||
|
namespace: kube-system
|
||
|
labels:
|
||
|
k8s-app: kube-ui
|
||
|
version: v1
|
||
|
kubernetes.io/cluster-service: "true"
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
k8s-app: kube-ui
|
||
|
version: v1
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
k8s-app: kube-ui
|
||
|
version: v1
|
||
|
kubernetes.io/cluster-service: "true"
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: kube-ui
|
||
|
image: gcr.io/google_containers/kube-ui:v1.1
|
||
|
resources:
|
||
|
limits:
|
||
|
cpu: 100m
|
||
|
memory: 50Mi
|
||
|
ports:
|
||
|
- containerPort: 8080
|
||
|
livenessProbe:
|
||
|
httpGet:
|
||
|
path: /
|
||
|
port: 8080
|
||
|
initialDelaySeconds: 30
|
||
|
timeoutSeconds: 5
|