更新部分镜像版本;新增LobeChat部署文件
This commit is contained in:
parent
9df00e1c0c
commit
f46bb5fc09
13263
examples/cert-manager/cert-manager.yaml
Normal file
13263
examples/cert-manager/cert-manager.yaml
Normal file
File diff suppressed because it is too large
Load Diff
@ -21,11 +21,12 @@ metadata:
|
|||||||
app.k8s.hty1024.com/version: v2.15.8
|
app.k8s.hty1024.com/version: v2.15.8
|
||||||
app.k8s.hty1024.com/resources: service
|
app.k8s.hty1024.com/resources: service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 3000
|
- port: 3000
|
||||||
targetPort: 3000
|
targetPort: 3000
|
||||||
nodePort: 30000
|
# nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
|
@ -93,11 +93,12 @@ metadata:
|
|||||||
app.k8s.hty1024.com/version: 24.7.17
|
app.k8s.hty1024.com/version: 24.7.17
|
||||||
app.k8s.hty1024.com/resources: service
|
app.k8s.hty1024.com/resources: service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 8080
|
- port: 8080
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
nodePort: 30000
|
# nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
|
@ -21,11 +21,12 @@ metadata:
|
|||||||
app.k8s.hty1024.com/version: "20240709"
|
app.k8s.hty1024.com/version: "20240709"
|
||||||
app.k8s.hty1024.com/resources: service
|
app.k8s.hty1024.com/resources: service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 3000
|
- port: 3000
|
||||||
targetPort: 3000
|
targetPort: 3000
|
||||||
nodePort: 30000
|
# nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
|
@ -17,7 +17,7 @@ metadata:
|
|||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: gitea
|
app.k8s.hty1024.com/name: gitea
|
||||||
app.k8s.hty1024.com/version: 1.22.6
|
app.k8s.hty1024.com/version: 1.23.1
|
||||||
app.k8s.hty1024.com/resources: storageClass
|
app.k8s.hty1024.com/resources: storageClass
|
||||||
provisioner: kubernetes.io/no-provisioner
|
provisioner: kubernetes.io/no-provisioner
|
||||||
reclaimPolicy: Retain
|
reclaimPolicy: Retain
|
||||||
@ -34,7 +34,7 @@ metadata:
|
|||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: gitea
|
app.k8s.hty1024.com/name: gitea
|
||||||
app.k8s.hty1024.com/version: 1.22.6
|
app.k8s.hty1024.com/version: 1.23.1
|
||||||
app.k8s.hty1024.com/resources: persistentVolume
|
app.k8s.hty1024.com/resources: persistentVolume
|
||||||
spec:
|
spec:
|
||||||
capacity:
|
capacity:
|
||||||
@ -67,7 +67,7 @@ metadata:
|
|||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: gitea
|
app.k8s.hty1024.com/name: gitea
|
||||||
app.k8s.hty1024.com/version: 1.22.6
|
app.k8s.hty1024.com/version: 1.23.1
|
||||||
app.k8s.hty1024.com/resources: persistentVolumeClaim
|
app.k8s.hty1024.com/resources: persistentVolumeClaim
|
||||||
spec:
|
spec:
|
||||||
resources:
|
resources:
|
||||||
@ -90,19 +90,20 @@ metadata:
|
|||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: gitea
|
app.k8s.hty1024.com/name: gitea
|
||||||
app.k8s.hty1024.com/version: 1.22.6
|
app.k8s.hty1024.com/version: 1.23.1
|
||||||
app.k8s.hty1024.com/resources: service
|
app.k8s.hty1024.com/resources: service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 3000
|
- port: 3000
|
||||||
targetPort: 3000
|
targetPort: 3000
|
||||||
nodePort: 30000
|
# nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: gitea
|
app.k8s.hty1024.com/name: gitea
|
||||||
app.k8s.hty1024.com/version: 1.22.6
|
app.k8s.hty1024.com/version: 1.23.1
|
||||||
app.k8s.hty1024.com/resources: pod
|
app.k8s.hty1024.com/resources: pod
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -117,7 +118,7 @@ metadata:
|
|||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: gitea
|
app.k8s.hty1024.com/name: gitea
|
||||||
app.k8s.hty1024.com/version: 1.22.6
|
app.k8s.hty1024.com/version: 1.23.1
|
||||||
app.k8s.hty1024.com/resources: statefulSet
|
app.k8s.hty1024.com/resources: statefulSet
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
@ -127,7 +128,7 @@ spec:
|
|||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: gitea
|
app.k8s.hty1024.com/name: gitea
|
||||||
app.k8s.hty1024.com/version: 1.22.6
|
app.k8s.hty1024.com/version: 1.23.1
|
||||||
app.k8s.hty1024.com/resources: pod
|
app.k8s.hty1024.com/resources: pod
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
@ -135,7 +136,7 @@ spec:
|
|||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: gitea
|
app.k8s.hty1024.com/name: gitea
|
||||||
app.k8s.hty1024.com/version: 1.22.6
|
app.k8s.hty1024.com/version: 1.23.1
|
||||||
app.k8s.hty1024.com/resources: pod
|
app.k8s.hty1024.com/resources: pod
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
@ -148,7 +149,7 @@ spec:
|
|||||||
claimName: hty1024-app-gitea-pvc
|
claimName: hty1024-app-gitea-pvc
|
||||||
containers:
|
containers:
|
||||||
- name: gitea
|
- name: gitea
|
||||||
image: gitea/gitea:1.22.6
|
image: gitea/gitea:1.23.1
|
||||||
ports:
|
ports:
|
||||||
- name: tcp
|
- name: tcp
|
||||||
containerPort: 3000
|
containerPort: 3000
|
||||||
|
@ -93,11 +93,12 @@ metadata:
|
|||||||
app.k8s.hty1024.com/version: 1.6.1
|
app.k8s.hty1024.com/version: 1.6.1
|
||||||
app.k8s.hty1024.com/resources: service
|
app.k8s.hty1024.com/resources: service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 8090
|
- port: 8090
|
||||||
targetPort: 8090
|
targetPort: 8090
|
||||||
nodePort: 30000
|
# nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
|
@ -93,11 +93,12 @@ metadata:
|
|||||||
app.k8s.hty1024.com/version: 3.7.0-alpine
|
app.k8s.hty1024.com/version: 3.7.0-alpine
|
||||||
app.k8s.hty1024.com/resources: service
|
app.k8s.hty1024.com/resources: service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 10080
|
- port: 10080
|
||||||
targetPort: 10080
|
targetPort: 10080
|
||||||
nodePort: 30000
|
# nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
|
130
examples/lobe-chat/lobe-chat.yaml
Normal file
130
examples/lobe-chat/lobe-chat.yaml
Normal file
@ -0,0 +1,130 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# 创建 Namespace
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: hty1024-app
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 创建 Service
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: hty1024-app-lobe-chat-service
|
||||||
|
namespace: hty1024-app
|
||||||
|
labels:
|
||||||
|
app.k8s.hty1024.com/env: prod
|
||||||
|
app.k8s.hty1024.com/type: app
|
||||||
|
app.k8s.hty1024.com/name: lobe-chat
|
||||||
|
app.k8s.hty1024.com/version: v1.39.1
|
||||||
|
app.k8s.hty1024.com/resources: service
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
|
ports:
|
||||||
|
- port: 3210
|
||||||
|
targetPort: 3210
|
||||||
|
# nodePort: 32000
|
||||||
|
selector:
|
||||||
|
app.k8s.hty1024.com/env: prod
|
||||||
|
app.k8s.hty1024.com/type: app
|
||||||
|
app.k8s.hty1024.com/name: lobe-chat
|
||||||
|
app.k8s.hty1024.com/version: v1.39.1
|
||||||
|
app.k8s.hty1024.com/resources: pod
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 创建 Deployment
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: hty1024-app-lobe-chat-deployment
|
||||||
|
namespace: hty1024-app
|
||||||
|
labels:
|
||||||
|
app.k8s.hty1024.com/env: prod
|
||||||
|
app.k8s.hty1024.com/type: app
|
||||||
|
app.k8s.hty1024.com/name: lobe-chat
|
||||||
|
app.k8s.hty1024.com/version: v1.39.1
|
||||||
|
app.k8s.hty1024.com/resources: deployment
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
minReadySeconds: 30
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.k8s.hty1024.com/env: prod
|
||||||
|
app.k8s.hty1024.com/type: app
|
||||||
|
app.k8s.hty1024.com/name: lobe-chat
|
||||||
|
app.k8s.hty1024.com/version: v1.39.1
|
||||||
|
app.k8s.hty1024.com/resources: pod
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.k8s.hty1024.com/env: prod
|
||||||
|
app.k8s.hty1024.com/type: app
|
||||||
|
app.k8s.hty1024.com/name: lobe-chat
|
||||||
|
app.k8s.hty1024.com/version: v1.39.1
|
||||||
|
app.k8s.hty1024.com/resources: pod
|
||||||
|
spec:
|
||||||
|
terminationGracePeriodSeconds: 60
|
||||||
|
volumes:
|
||||||
|
- name: localtime
|
||||||
|
hostPath:
|
||||||
|
path: /etc/localtime
|
||||||
|
- name: shanghai
|
||||||
|
hostPath:
|
||||||
|
path: /usr/share/zoneinfo/Asia/Shanghai
|
||||||
|
containers:
|
||||||
|
- name: lobe-chat
|
||||||
|
image: lobehub/lobe-chat:v1.39.1
|
||||||
|
ports:
|
||||||
|
- name: tcp
|
||||||
|
containerPort: 3210
|
||||||
|
volumeMounts:
|
||||||
|
- name: shanghai
|
||||||
|
mountPath: /etc/localtime
|
||||||
|
readOnly: true
|
||||||
|
env:
|
||||||
|
- name: ACCESS_CODE
|
||||||
|
value: "123456"
|
||||||
|
- name: ENABLED_OPENAI
|
||||||
|
value: "1"
|
||||||
|
- name: OPENAI_API_KEY
|
||||||
|
value: "123456"
|
||||||
|
- name: ENABLED_GOOGLE
|
||||||
|
value: "1"
|
||||||
|
- name: GOOGLE_API_KEY
|
||||||
|
value: "123456"
|
||||||
|
- name: ENABLED_AWS_BEDROCK
|
||||||
|
value: "0"
|
||||||
|
- name: AWS_ACCESS_KEY_ID
|
||||||
|
value: ""
|
||||||
|
- name: AWS_SECRET_ACCESS_KEY
|
||||||
|
value: ""
|
||||||
|
- name: FEATURE_FLAGS
|
||||||
|
value: "-webrtc_sync,+language_model_settings,-openai_api_key,-openai_proxy_url,+create_session,+edit_agent,+dalle,-check_updates,+welcome_suggest,+market,+speech_to_text,-knowledge_base,-clerk_sign_up"
|
||||||
|
startupProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: 3210
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 1
|
||||||
|
failureThreshold: 30
|
||||||
|
readinessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: 3210
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
periodSeconds: 5
|
||||||
|
timeoutSeconds: 1
|
||||||
|
successThreshold: 1
|
||||||
|
livenessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: 3210
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
periodSeconds: 5
|
||||||
|
timeoutSeconds: 1
|
||||||
|
failureThreshold: 3
|
||||||
|
nodeSelector:
|
||||||
|
node.k8s.hty1024.com/type: app
|
||||||
|
|
@ -21,12 +21,13 @@ metadata:
|
|||||||
app.k8s.hty1024.com/version: 8.14.0
|
app.k8s.hty1024.com/version: 8.14.0
|
||||||
app.k8s.hty1024.com/resources: service
|
app.k8s.hty1024.com/resources: service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- name: pgadmin4
|
- name: pgadmin4
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
nodePort: 30000
|
# nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: db
|
app.k8s.hty1024.com/type: db
|
||||||
|
@ -21,12 +21,13 @@ metadata:
|
|||||||
app.k8s.hty1024.com/version: 5.2.1
|
app.k8s.hty1024.com/version: 5.2.1
|
||||||
app.k8s.hty1024.com/resources: service
|
app.k8s.hty1024.com/resources: service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- name: phpmyadmin
|
- name: phpmyadmin
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
nodePort: 30000
|
# nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: db
|
app.k8s.hty1024.com/type: db
|
||||||
|
@ -191,11 +191,12 @@ metadata:
|
|||||||
app.k8s.hty1024.com/version: 11.0.9
|
app.k8s.hty1024.com/version: 11.0.9
|
||||||
app.k8s.hty1024.com/resources: service
|
app.k8s.hty1024.com/resources: service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
nodePort: 30000
|
# nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
|
@ -93,11 +93,12 @@ metadata:
|
|||||||
app.k8s.hty1024.com/version: 0.63.7
|
app.k8s.hty1024.com/version: 0.63.7
|
||||||
app.k8s.hty1024.com/resources: service
|
app.k8s.hty1024.com/resources: service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 8080
|
- port: 8080
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
nodePort: 30000
|
# nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
|
@ -17,7 +17,7 @@ metadata:
|
|||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: vaultwarden
|
app.k8s.hty1024.com/name: vaultwarden
|
||||||
app.k8s.hty1024.com/version: 1.32.6-alpine
|
app.k8s.hty1024.com/version: 1.32.7-alpine
|
||||||
app.k8s.hty1024.com/resources: storageClass
|
app.k8s.hty1024.com/resources: storageClass
|
||||||
provisioner: kubernetes.io/no-provisioner
|
provisioner: kubernetes.io/no-provisioner
|
||||||
reclaimPolicy: Retain
|
reclaimPolicy: Retain
|
||||||
@ -34,7 +34,7 @@ metadata:
|
|||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: vaultwarden
|
app.k8s.hty1024.com/name: vaultwarden
|
||||||
app.k8s.hty1024.com/version: 1.32.6-alpine
|
app.k8s.hty1024.com/version: 1.32.7-alpine
|
||||||
app.k8s.hty1024.com/resources: persistentVolume
|
app.k8s.hty1024.com/resources: persistentVolume
|
||||||
spec:
|
spec:
|
||||||
capacity:
|
capacity:
|
||||||
@ -67,7 +67,7 @@ metadata:
|
|||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: vaultwarden
|
app.k8s.hty1024.com/name: vaultwarden
|
||||||
app.k8s.hty1024.com/version: 1.32.6-alpine
|
app.k8s.hty1024.com/version: 1.32.7-alpine
|
||||||
app.k8s.hty1024.com/resources: persistentVolumeClaim
|
app.k8s.hty1024.com/resources: persistentVolumeClaim
|
||||||
spec:
|
spec:
|
||||||
resources:
|
resources:
|
||||||
@ -90,19 +90,20 @@ metadata:
|
|||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: vaultwarden
|
app.k8s.hty1024.com/name: vaultwarden
|
||||||
app.k8s.hty1024.com/version: 1.32.6-alpine
|
app.k8s.hty1024.com/version: 1.32.7-alpine
|
||||||
app.k8s.hty1024.com/resources: service
|
app.k8s.hty1024.com/resources: service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
nodePort: 30000
|
# nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: vaultwarden
|
app.k8s.hty1024.com/name: vaultwarden
|
||||||
app.k8s.hty1024.com/version: 1.32.6-alpine
|
app.k8s.hty1024.com/version: 1.32.7-alpine
|
||||||
app.k8s.hty1024.com/resources: pod
|
app.k8s.hty1024.com/resources: pod
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -117,7 +118,7 @@ metadata:
|
|||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: vaultwarden
|
app.k8s.hty1024.com/name: vaultwarden
|
||||||
app.k8s.hty1024.com/version: 1.32.6-alpine
|
app.k8s.hty1024.com/version: 1.32.7-alpine
|
||||||
app.k8s.hty1024.com/resources: statefulSet
|
app.k8s.hty1024.com/resources: statefulSet
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
@ -127,7 +128,7 @@ spec:
|
|||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: vaultwarden
|
app.k8s.hty1024.com/name: vaultwarden
|
||||||
app.k8s.hty1024.com/version: 1.32.6-alpine
|
app.k8s.hty1024.com/version: 1.32.7-alpine
|
||||||
app.k8s.hty1024.com/resources: pod
|
app.k8s.hty1024.com/resources: pod
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
@ -135,7 +136,7 @@ spec:
|
|||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
app.k8s.hty1024.com/name: vaultwarden
|
app.k8s.hty1024.com/name: vaultwarden
|
||||||
app.k8s.hty1024.com/version: 1.32.6-alpine
|
app.k8s.hty1024.com/version: 1.32.7-alpine
|
||||||
app.k8s.hty1024.com/resources: pod
|
app.k8s.hty1024.com/resources: pod
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
@ -148,7 +149,7 @@ spec:
|
|||||||
claimName: hty1024-app-vaultwarden-pvc
|
claimName: hty1024-app-vaultwarden-pvc
|
||||||
containers:
|
containers:
|
||||||
- name: vaultwarden
|
- name: vaultwarden
|
||||||
image: vaultwarden/server:1.32.6-alpine
|
image: vaultwarden/server:1.32.7-alpine
|
||||||
ports:
|
ports:
|
||||||
- name: tcp
|
- name: tcp
|
||||||
containerPort: 80
|
containerPort: 80
|
||||||
|
@ -93,11 +93,12 @@ metadata:
|
|||||||
app.k8s.hty1024.com/version: 2.5.305
|
app.k8s.hty1024.com/version: 2.5.305
|
||||||
app.k8s.hty1024.com/resources: service
|
app.k8s.hty1024.com/resources: service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 3000
|
- port: 3000
|
||||||
targetPort: 3000
|
targetPort: 3000
|
||||||
nodePort: 30000
|
# nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
|
@ -93,11 +93,12 @@ metadata:
|
|||||||
app.k8s.hty1024.com/version: 1.0.31
|
app.k8s.hty1024.com/version: 1.0.31
|
||||||
app.k8s.hty1024.com/resources: service
|
app.k8s.hty1024.com/resources: service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
nodePort: 30000
|
# nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
|
@ -208,11 +208,12 @@ metadata:
|
|||||||
app.k8s.hty1024.com/version: 1.1.13
|
app.k8s.hty1024.com/version: 1.1.13
|
||||||
app.k8s.hty1024.com/resources: service
|
app.k8s.hty1024.com/resources: service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
# type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 8080
|
- port: 8080
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
nodePort: 30000
|
# nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.k8s.hty1024.com/env: prod
|
app.k8s.hty1024.com/env: prod
|
||||||
app.k8s.hty1024.com/type: app
|
app.k8s.hty1024.com/type: app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user