Comments (7)
Also see kubernetes/kubernetes#47159
from cluster-registry.
I'm running into this. there are quite a few resources that I have to clean up manually when re-running crinit.
Here's the list of commands I needed to run in order to get my cluster cleaned up and ready to launch crinit again:
kc delete svc/first-cluster-reg -n clusterregistry ns/clusterregistry clusterroles/clusterregistry.k8s.io:apiserver clusterrolebindings/clusterregistry.k8s.io:apiserver clusterrolebindings/clusterregistry.k8s.io:apiserver-auth-delegator clusterrolebindings/clusterregistry.k8s.io:extension-apiserver-authentication-reader apiservices/v1alpha1.clusterregistry.k8s.io; kc delete rolebindings/clusterregistry.k8s.io:extension-apiserver-authentication-reader -n kube-system
from cluster-registry.
Thanks @G-Harmon! Yep, we need to look at introducing a delete
subcommand or eventually use helm, to make this simpler. I use the following:
kubectl delete ns/clusterregistry clusterrole/clusterregistry.k8s.io:apiserver clusterrolebinding/clusterregistry.k8s.io:apiserver clusterrolebinding/clusterregistry.k8s.io:apiserver-auth-delegator; kubectl -n kube-system delete rolebinding/clusterregistry.k8s.io:extension-apiserver-authentication-reader apiservice/v1alpha1.clusterregistry.k8s.io
from cluster-registry.
Looking forward adding the --force
option for the init
command.
from cluster-registry.
@jianzhangbjz While a --force
option doesn't exist for the init
subcommand, #192 adds the ability to delete the clusterregistry deployment and it has a --force
option as well.
from cluster-registry.
@font Oh, sorry, my misunderstanding. Got it, thanks!
from cluster-registry.
Note that this issue is no longer applicable because of the CRD migration done in #225, which removes crinit
and the standalone API server.
from cluster-registry.
Related Issues (20)
- crinit aggregated init fail due to cannot create the clusterrole HOT 5
- crinit standalone init failed HOT 5
- Determine scoping of Cluster registry types HOT 5
- Determine name of 'public' namespace for globally accessible cluster records HOT 6
- `crinit standalone init mycr mycluster.icp-context` hang HOT 2
- Wrong cp command in the examples/samplecontainer/README.md HOT 1
- Follow-up tasks for CRD conversion HOT 4
- setting up cluster registry fails HOT 2
- How to deploy storage-provisioner HOT 1
- Where to get federation image HOT 2
- Upgrade kubebuilder to 0.1.12 HOT 1
- Link to YAML for CRD leads to 404 on website
- CRD definition is broken on kube 1.11.1 cluster HOT 6
- Add missing go tools. HOT 4
- kubefed2 join fails with gke clusters HOT 1
- Consider removing generated client HOT 4
- Re-generate client to make it compilable with 1.13 libraries HOT 10
- Support custom metadata per cluster HOT 4
- fix invalid links HOT 4
- Dead project? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cluster-registry.