system-tools

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

README

system-tools

Rancher 2.0 operations tool kit.

Commands:
  • Remove

Usage:

   system-tools remove [command options] [arguments...]

Options:

  • --kubeconfig value, -c value: kubeconfig absolute path [$KUBECONFIG]
  • --namespace cattle-system, -n cattle-system: rancher 2.x deployment namespace. default is cattle-system (default: "cattle-system")
  • --force: Skip the the interactive removal confirmation and remove the Rancher deployment right away.

The system-tools remove command is used to delete a Rancher 2.x management plane deployment. It operates by applying the following steps:

  • Remove Rancher Deployment.
  • Remove Rancher-Labeled ClusterRoles and ClusterRoleBindings.
  • Remove Labels, Annotations and Finalizers from all resources on the management plane cluster.
  • Remove Machines, Clusters, Projects and Users CRDs and corresponding namespaces.
  • Remove all resources created under the management.cattle.io API group.
  • Reamove all CRDs created by Rancher 2.x.
  • Remove the Rancher deployment Namespace, default is cattle-system.

Building

make

Running

./bin/system-tools

License

Copyright (c) 2018 Rancher Labs, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL