k8s-manifests/spark/base/spark-ui-proxy-controller.yml

30 lines
667 B
YAML
Raw Normal View History

2024-06-28 10:57:08 +00:00
kind: ReplicationController
apiVersion: v1
metadata:
name: spark-ui-proxy-controller
spec:
replicas: 1
selector:
component: spark-ui-proxy
template:
metadata:
labels:
component: spark-ui-proxy
spec:
containers:
- name: spark-ui-proxy
2024-06-28 12:24:18 +00:00
image: iguaziodocker/spark-ui-proxy:0.1.0
2024-06-28 10:57:08 +00:00
ports:
- containerPort: 80
resources:
requests:
cpu: 100m
args:
- spark-master:8080
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 120
timeoutSeconds: 5