IMPORTANT: metrics-server is included by default in custom clusters in Rancher v2.0.7 and higher, these steps are not needed when clusters are created using Rancher v2.0.7 or higher.
kube_api:
pod_security_policy: false
extra_args:
IMPORTANT: metrics-server is included by default in custom clusters in Rancher v2.0.7 and higher, these steps are not needed when clusters are created using Rancher v2.0.7 or higher.
kube_api:
pod_security_policy: false
extra_args:
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go
directory by:
# CREATE | |
curl -i -H 'Accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
http://192.168.2.8:8080/v1-webhooks/receivers?projectId=1a5 \ | |
-X POST -d '{"name": "scale up 6 by 1", "driver": "scaleService", "scaleServiceConfig": {"action": "up", "amount": 1, "serviceId": "1s6"}}' | |
# CREATE WITH LOCAL AUTH ENABLE and passed as cookie | |
curl -i -H 'Accept: application/json' -H 'Content-Type: application/json' \ | |
--cookie 'PL=rancher; CSRF=D2ACB843C3; token=<token>' http://138.197.29.231:8080/v1-webhooks/receivers?projectId=1a5 \ | |
-X POST -d '{"name": "scale up 6 by 1", "driver": "scaleService", "scaleServiceConfig": {"action": "up", "amount": 1, "serviceId": "1s6"}}' |