33 lines
686 B
YAML
33 lines
686 B
YAML
|
kind: Deployment
|
||
|
apiVersion: apps/v1
|
||
|
metadata:
|
||
|
name: headlamp
|
||
|
namespace: headlamp
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
k8s-app: headlamp
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
k8s-app: headlamp
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: headlamp
|
||
|
image: ghcr.io/headlamp-k8s/headlamp:v0.26.0
|
||
|
args:
|
||
|
- "-in-cluster"
|
||
|
- "-plugins-dir=/headlamp/plugins"
|
||
|
ports:
|
||
|
- containerPort: 4466
|
||
|
livenessProbe:
|
||
|
httpGet:
|
||
|
scheme: HTTP
|
||
|
path: /
|
||
|
port: 4466
|
||
|
initialDelaySeconds: 30
|
||
|
timeoutSeconds: 30
|
||
|
nodeSelector:
|
||
|
'kubernetes.io/os': linux
|