chore: update inventory to comment out deprecated worker nodes and adjust Gitea resource limits
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
6ed99f5f9c
commit
51c9b2f07b
@ -9,14 +9,14 @@ kube_control_plane
|
|||||||
; If you want to add more nodes to the cluster, you can add them to the [kube_node] group
|
; If you want to add more nodes to the cluster, you can add them to the [kube_node] group
|
||||||
[kube_node]
|
[kube_node]
|
||||||
; Belows are the original nodes for the cluster, removed from cluster
|
; Belows are the original nodes for the cluster, removed from cluster
|
||||||
prod-usw2-k8s-freeleaps-worker-ingress-01 ansible_host=10.10.0.6 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-ingress-01
|
; prod-usw2-k8s-freeleaps-worker-ingress-01 ansible_host=10.10.0.6 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-ingress-01
|
||||||
prod-usw2-k8s-freeleaps-worker-ingress-02 ansible_host=10.10.0.7 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-ingress-02
|
; prod-usw2-k8s-freeleaps-worker-ingress-02 ansible_host=10.10.0.7 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-ingress-02
|
||||||
prod-usw2-k8s-freeleaps-worker-ingress-03 ansible_host=10.10.0.5 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-ingress-03
|
; prod-usw2-k8s-freeleaps-worker-ingress-03 ansible_host=10.10.0.5 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-ingress-03
|
||||||
prod-usw2-k8s-freeleaps-worker-01 ansible_host=10.10.0.10 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-01
|
; prod-usw2-k8s-freeleaps-worker-01 ansible_host=10.10.0.10 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-01
|
||||||
prod-usw2-k8s-freeleaps-worker-02 ansible_host=10.10.0.11 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-02
|
; prod-usw2-k8s-freeleaps-worker-02 ansible_host=10.10.0.11 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-02
|
||||||
prod-usw2-k8s-freeleaps-worker-03 ansible_host=10.10.0.12 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-03
|
; prod-usw2-k8s-freeleaps-worker-03 ansible_host=10.10.0.12 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-03
|
||||||
prod-usw2-k8s-freeleaps-worker-04 ansible_host=10.10.0.13 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-04
|
; prod-usw2-k8s-freeleaps-worker-04 ansible_host=10.10.0.13 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-04
|
||||||
prod-usw2-k8s-freeleaps-worker-06 ansible_host=10.10.0.15 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-06
|
; prod-usw2-k8s-freeleaps-worker-06 ansible_host=10.10.0.15 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-06
|
||||||
; Belows are the newly added nodes for the cluster to reduce cost
|
; Belows are the newly added nodes for the cluster to reduce cost
|
||||||
prod-usw2-k8s-freeleaps-worker-nodes-01 ansible_host=10.10.0.16 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-nodes-01
|
prod-usw2-k8s-freeleaps-worker-nodes-01 ansible_host=10.10.0.16 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-nodes-01
|
||||||
prod-usw2-k8s-freeleaps-worker-nodes-02 ansible_host=10.10.0.17 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-nodes-02
|
prod-usw2-k8s-freeleaps-worker-nodes-02 ansible_host=10.10.0.17 ansible_user=wwwadmin@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-nodes-02
|
||||||
|
|||||||
@ -92,7 +92,8 @@ containerSecurityContext: {}
|
|||||||
securityContext: {}
|
securityContext: {}
|
||||||
|
|
||||||
## @param podDisruptionBudget Pod disruption budget
|
## @param podDisruptionBudget Pod disruption budget
|
||||||
podDisruptionBudget: {}
|
podDisruptionBudget:
|
||||||
|
minAvailable: 1
|
||||||
# maxUnavailable: 1
|
# maxUnavailable: 1
|
||||||
# minAvailable: 1
|
# minAvailable: 1
|
||||||
|
|
||||||
@ -191,7 +192,12 @@ ingress:
|
|||||||
#
|
#
|
||||||
## @param resources Kubernetes resources
|
## @param resources Kubernetes resources
|
||||||
resources:
|
resources:
|
||||||
{}
|
requests:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 128Mi
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 1Gi
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||||
@ -518,7 +524,7 @@ gitea:
|
|||||||
## @param gitea.config.server.SSH_PORT SSH port for rootlful Gitea image
|
## @param gitea.config.server.SSH_PORT SSH port for rootlful Gitea image
|
||||||
## @param gitea.config.server.SSH_LISTEN_PORT SSH port for rootless Gitea image
|
## @param gitea.config.server.SSH_LISTEN_PORT SSH port for rootless Gitea image
|
||||||
config:
|
config:
|
||||||
APP_NAME: "Freeleaps Codebase Service"
|
APP_NAME: "Freeleaps"
|
||||||
# APP_NAME: "Gitea: Git with a cup of tea"
|
# APP_NAME: "Gitea: Git with a cup of tea"
|
||||||
# RUN_MODE: dev
|
# RUN_MODE: dev
|
||||||
server:
|
server:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user