Skip to content

Commit

Permalink
delete default resource requests
Browse files Browse the repository at this point in the history
  • Loading branch information
motoki317 committed May 13, 2023
1 parent 028d158 commit d3e43e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .local-dev/manifest/ns-system/config/ns-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ k8s:
imagePullSecret: ""
resources:
requests:
cpu: 50m
cpu: 10m
memory: 50M
limits:
cpu: 1600m
Expand Down
4 changes: 2 additions & 2 deletions cmd/ns-controller/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ func init() {
viper.SetDefault("k8s.scheduling.tolerations", nil)
viper.SetDefault("k8s.resources.requests.cpu", "")
viper.SetDefault("k8s.resources.requests.memory", "")
viper.SetDefault("k8s.resources.limits.cpu", "1.6")
viper.SetDefault("k8s.resources.limits.memory", "1G")
viper.SetDefault("k8s.resources.limits.cpu", "")
viper.SetDefault("k8s.resources.limits.memory", "")

viper.SetDefault("ssh.port", 2201)

Expand Down

0 comments on commit d3e43e5

Please sign in to comment.