mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
Updates
This commit is contained in:
@@ -79,3 +79,12 @@ k apply -f prometheus-service-account.yaml -n default
|
||||
|
||||
# create service monitor for telegraf
|
||||
k apply -f telegraf-service-monitor.yaml -n default
|
||||
|
||||
# ddns
|
||||
|
||||
k apply -f ddns.yaml -n home-apps
|
||||
|
||||
|
||||
# cluster issuers
|
||||
|
||||
k apply -f lets.yaml
|
||||
|
||||
@@ -26,6 +26,13 @@ spec:
|
||||
value: A
|
||||
- name: GODADDY_NAME
|
||||
value: home
|
||||
resources:
|
||||
requests:
|
||||
cpu: 20m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
cpu: 40m
|
||||
memory: 128Mi
|
||||
---
|
||||
|
||||
apiVersion: apps/v1
|
||||
@@ -56,3 +63,41 @@ spec:
|
||||
value: A
|
||||
- name: GODADDY_NAME
|
||||
value: "*.home"
|
||||
|
||||
---
|
||||
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ddns-badges
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: ddns-badges
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: ddns-badges
|
||||
spec:
|
||||
containers:
|
||||
- name: ddns-badges
|
||||
image: peteward44/godaddy-ddns
|
||||
env:
|
||||
- name: GODADDY_KEY
|
||||
value: 9ZpTeFUt9G3_MxGrYikGF6n77nAjB9tQow
|
||||
- name: GODADDY_SECRET
|
||||
value: MxHfis9ADQgwqtdRTJ5KPb
|
||||
- name: GODADDY_DOMAIN
|
||||
value: toozhao.com
|
||||
- name: GODADDY_TYPE
|
||||
value: A
|
||||
- name: GODADDY_NAME
|
||||
value: badges
|
||||
resources:
|
||||
requests:
|
||||
cpu: 20m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
cpu: 40m
|
||||
memory: 128Mi
|
||||
|
||||
+4
-3
@@ -353,9 +353,10 @@ spec:
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- "curl http://localhost:8001 && curl google.com"
|
||||
initialDelaySeconds: 300
|
||||
periodSeconds: 300
|
||||
- curl
|
||||
- http://localhost:8001
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 60
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
|
||||
@@ -16,7 +16,7 @@ ingress:
|
||||
enabled: true
|
||||
path: /
|
||||
hosts:
|
||||
- id.home.toozhao.com
|
||||
- id.homeid.home.toozhao.com
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
|
||||
Reference in New Issue
Block a user