Skip to content

Commit

Permalink
Merge pull request #152 from zwk1091/main
Browse files Browse the repository at this point in the history
fix: expand resources, add chaosmeta-platform yaml
  • Loading branch information
KingsonKai authored Mar 4, 2024
2 parents 413fcc7 + 2f2828f commit 975d872
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 9 deletions.
6 changes: 3 additions & 3 deletions chaosmeta-deploy/templates/chaosmeta-flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,10 @@ spec:
resources:
limits:
cpu: 500m
memory: 128Mi
memory: 256Mi
requests:
cpu: 10m
memory: 64Mi
cpu: 500m
memory: 256Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
6 changes: 3 additions & 3 deletions chaosmeta-deploy/templates/chaosmeta-inject.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,10 @@ spec:
resources:
limits:
cpu: 500m
memory: 128Mi
memory: 256Mi
requests:
cpu: 10m
memory: 64Mi
cpu: 500m
memory: 256Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
6 changes: 3 additions & 3 deletions chaosmeta-deploy/templates/chaosmeta-measure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ spec:
resources:
limits:
cpu: 500m
memory: 128Mi
memory: 256Mi
requests:
cpu: 10m
memory: 64Mi
cpu: 500m
memory: 256Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
27 changes: 27 additions & 0 deletions chaosmeta-deploy/templates/chaosmeta-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,30 @@ spec:
- name: mysql-storage
hostPath:
path: "/mnt/chaosmeta-platform-mysql"
---
apiVersion: v1
kind: Service
metadata:
finalizers:
- service.k8s.alibaba/resources
labels:
app: chaosmeta-platform
name: chaosmeta-platform
namespace: chaosmeta
spec:
allocateLoadBalancerNodePorts: true
externalTrafficPolicy: Cluster
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- name: http
nodePort: 32504
port: 8000
protocol: TCP
targetPort: 8000
selector:
app: chaosmeta-platform
sessionAffinity: None
type: LoadBalancer

0 comments on commit 975d872

Please sign in to comment.