You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the `core` mode (`--core` argument specified), the CLI talks directly to the Kubernetes API server set as per the `KUBECONFIG` environment variable or the default file `$HOME/.kube/config`. There is no need for users to login into the ArgoCD server for executing commands.
177
-
```
178
-
KUBECONFIG=~/.kube/config argocd --core [command or options][arguments…]
179
-
```
176
+
In the `core` mode (`--core` argument specified), the CLI talks directly to the Kubernetes API server set as per the `KUBECONFIG` environment variable or the default file `$HOME/.kube/config`. There is no need for users to login into the ArgoCD server for executing commands. The commands would be run as user configured in the kubeconfig file.
177
+
178
+
1. With the default context in kubeconfig file
179
+
```
180
+
KUBECONFIG=~/.kube/config argocd --core [command or options] [arguments…]
181
+
```
182
+
2. With a custom context in kubeconfig file
183
+
```
184
+
KUBECONFIG=~/.kube/config argocd --core --kube-context [context] [command or options] [arguments…]
0 commit comments