add next round
This commit is contained in:
55
apps/home-assistant/home-assistance-deploy.yaml
Normal file
55
apps/home-assistant/home-assistance-deploy.yaml
Normal file
@@ -0,0 +1,55 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: home-assistants
|
||||
name: home-assistants-deployment
|
||||
namespace: default
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: home-assistants
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: home-assistants
|
||||
spec:
|
||||
containers:
|
||||
- image: lscr.io/linuxserver/homeassistant:latest
|
||||
imagePullPolicy: Always
|
||||
name: home-assistants
|
||||
env:
|
||||
- name: TZ
|
||||
value: Etcd/New_York
|
||||
ports:
|
||||
- containerPort: 8123
|
||||
protocol: TCP
|
||||
resources:
|
||||
requests:
|
||||
akri.sh/akri-ha-insteon: "1"
|
||||
akri.sh/akri-ha-zigbee: "1"
|
||||
limits:
|
||||
akri.sh/akri-ha-insteon: "1"
|
||||
akri.sh/akri-ha-zigbee: "1"
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: home-assistants-config
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 30
|
||||
volumes:
|
||||
- name: home-assistants-config
|
||||
persistentVolumeClaim:
|
||||
claimName: home-assistants-config
|
||||
Reference in New Issue
Block a user