Skip to content

Commit

Permalink
Update default kube-apiserver arguments
Browse files Browse the repository at this point in the history
- Disable profiling (--profiling=false)
- Reduce event TTL to 5 minutes (--event-ttl=5m)
  • Loading branch information
neoaggelos committed Nov 16, 2021
1 parent 0a406f0 commit ab6dd24
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions microk8s-resources/default-args/kube-apiserver
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
--service-account-issuer='https://kubernetes.default.svc'
--service-account-signing-key-file=${SNAP_DATA}/certs/serviceaccount.key
--feature-gates=RemoveSelfLink=false
--event-ttl=5m
--profiling=false

# Enable the aggregation layer
--requestheader-client-ca-file=${SNAP_DATA}/certs/front-proxy-ca.crt
Expand Down
1 change: 1 addition & 0 deletions microk8s-resources/default-args/kube-controller-manager
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
--use-service-account-credentials
--leader-elect-lease-duration=60s
--leader-elect-renew-deadline=30s
--profiling=false
1 change: 1 addition & 0 deletions microk8s-resources/default-args/kube-proxy
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
--kubeconfig=${SNAP_DATA}/credentials/proxy.config
--cluster-cidr=10.1.0.0/16
--healthz-bind-address=127.0.0.1
--profiling=false
1 change: 1 addition & 0 deletions microk8s-resources/default-args/kube-scheduler
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
--address=127.0.0.1
--leader-elect-lease-duration=60s
--leader-elect-renew-deadline=30s
--profiling=false

0 comments on commit ab6dd24

Please sign in to comment.