Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autoscaler pod does not start because OOM #1556

Closed
manuelbuil opened this issue Aug 6, 2021 · 1 comment
Closed

Autoscaler pod does not start because OOM #1556

manuelbuil opened this issue Aug 6, 2021 · 1 comment
Assignees
Labels
kind/dev-validation Dev will be validating this issue

Comments

@manuelbuil
Copy link
Contributor

Environmental Info:
RKE2 Version: master branch

Node(s) CPU architecture, OS, and Version:

Tested on Ubuntu 20 and opensuse Leap 15-SP3

Cluster Configuration:

1 server

Describe the bug:

The autoscaler crashes because of OOM. If I increase the memory to 20MB instead of 10MB, it works

Steps To Reproduce:

Deploy latest rke2 that has autoscaler enabled

Expected behavior:

I expect RKE2 to deploy correctly and have the autoscaler pod running

Actual behavior:

ausotcaler pod fails to run with OOM

@manuelbuil manuelbuil self-assigned this Aug 6, 2021
@manuelbuil manuelbuil added this to the v1.22.0+rke2r1 milestone Aug 6, 2021
@bmdepesa bmdepesa added the kind/dev-validation Dev will be validating this issue label Aug 12, 2021
@rancher-max
Copy link
Member

Validated on a machine with 10MB of memory that rke2 installs and all system pods are up and running using master branch commit 80e3f842c31a4f65e3f4cf56e435bb7b751b8fe3

$ kubectl get nodes,pods -A
NAME                    STATUS   ROLES                       AGE   VERSION
node/ip-172-31-19-201   Ready    control-plane,etcd,master   19m   v1.22.2+rke2r1

NAMESPACE     NAME                                                        READY   STATUS      RESTARTS   AGE
kube-system   pod/cloud-controller-manager-ip-172-31-19-201               1/1     Running     0          18m
kube-system   pod/etcd-ip-172-31-19-201                                   1/1     Running     0          18m
kube-system   pod/helm-install-rke2-canal--1-ds5nr                        0/1     Completed   0          19m
kube-system   pod/helm-install-rke2-coredns--1-drbwg                      0/1     Completed   0          19m
kube-system   pod/helm-install-rke2-ingress-nginx--1-xhfwk                0/1     Completed   0          19m
kube-system   pod/helm-install-rke2-metrics-server--1-lj4rx               0/1     Completed   0          19m
kube-system   pod/kube-apiserver-ip-172-31-19-201                         1/1     Running     0          18m
kube-system   pod/kube-controller-manager-ip-172-31-19-201                1/1     Running     0          18m
kube-system   pod/kube-proxy-ip-172-31-19-201                             1/1     Running     0          18m
kube-system   pod/kube-scheduler-ip-172-31-19-201                         1/1     Running     0          18m
kube-system   pod/rke2-canal-69l8k                                        2/2     Running     0          18m
kube-system   pod/rke2-coredns-rke2-coredns-6bc786cc9c-4rk2c              1/1     Running     0          18m
kube-system   pod/rke2-coredns-rke2-coredns-autoscaler-55d687769f-hpr66   1/1     Running     0          18m
kube-system   pod/rke2-ingress-nginx-controller-dgst8                     1/1     Running     0          18m
kube-system   pod/rke2-metrics-server-5b745c5ccb-g7ds9                    1/1     Running     0          18m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/dev-validation Dev will be validating this issue
Projects
None yet
Development

No branches or pull requests

4 participants