Commit Graph

11 Commits (ca7e0fd59d4571f4bf5c8ef52ccb5634a88f3699)

Author SHA1 Message Date
Steven Powell 4e33f96173 add timeout and force to kubectl command 2023-03-01 13:07:46 -08:00
Sharif Elgamal 8cf0a18069 no need to reverse file order for kubectl delete 2021-10-26 11:46:29 -07:00
Sharif Elgamal 1e932bc5bd cleanup and comments 2021-10-25 18:22:49 -07:00
Sharif Elgamal b0598d06e5 ignore-not-found for kubectl delete 2021-10-25 18:07:45 -07:00
Sharif Elgamal bd9da42651 reverse files for kubectl remove on addon disable 2021-10-25 17:31:24 -07:00
Priya Wadhwa 1b8eaaf76c Move kubectl binary function to kapi package to prevent future cyclic import dependencies 2020-06-25 09:40:14 -07:00
Priya Wadhwa 6d3a0c4eca Reduce coredns replicas from 2 to 1
This is an easy way to improve overhead, and users can always scale this back up if they need to.
2020-06-24 17:42:12 -07:00
Thomas Stromberg bd627f13e4 Plumb config.ClusterConfig throughout addon validation code 2020-03-10 17:49:47 -07:00
Medya Ghazizadeh 398c7ef00b
Add podman driver (#6515) 2020-02-12 19:11:44 -07:00
Thomas Stromberg c3aafaeeb4 Add IsNotExist() method to the config package, so that we can have meaningful error messages and make them comparable 2020-01-31 14:19:08 -08:00
Priya Wadhwa 7247a7dee6 Switched to using kubectl apply and kubectl delete for addons
kubectl apply with --prune wasn't working because it requires the
--namespace flag to be passed in and we have multiple namespaces for
addons.

We tried to split up addons within /etc/kubernetes/addons by
namespace, but this didn't work when disabling dashboard addon because
there were no files left in the kubernetes-dashboard subdirectory. So,
kubectl apply complained when trying to prune dashboard because no files
were being passed in.

So, I ended up removing all dependencies on prune and instead running
`kubectl apply` when enabling an addon and running `kubectl delete` when
disabling an addon.
2020-01-22 14:18:20 -08:00