From 76845bf752e2b39484c72e0a861c4ac100a17619 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Steenis Date: Wed, 24 Oct 2018 11:34:16 +0200 Subject: [PATCH] Add note on resources created by kubectl --- content/rancher/v2.x/en/k8s-in-rancher/kubectl/_index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/rancher/v2.x/en/k8s-in-rancher/kubectl/_index.md b/content/rancher/v2.x/en/k8s-in-rancher/kubectl/_index.md index edd00120150..9064c89c7df 100644 --- a/content/rancher/v2.x/en/k8s-in-rancher/kubectl/_index.md +++ b/content/rancher/v2.x/en/k8s-in-rancher/kubectl/_index.md @@ -9,6 +9,10 @@ You can access and manage your Kubernetes clusters using kubectl in two ways: - [Accessing Clusters with kubectl Shell](#accessing-clusters-with-kubectl-shell) - [Accessing Clusters with kubectl CLI and a kubeconfig File]({{< baseurl >}}/rancher/v2.x/en/k8s-in-rancher/kubeconfig/) +## Resources created using kubectl + +Rancher will discover and show resources created by `kubectl`. However, these resources might not have all the necessary annotations on discovery. If an operation (for instance, scaling the workload) is done to the resource using the Rancher UI/API, this may trigger recreation of the resources due to the missing annotations. This should only happen the first time an operation is done to the discovered resource. + ## Accessing Clusters with kubectl Shell You can access and manage your clusters by logging into Rancher and opening the kubectl shell. No further configuration necessary.