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
Copy file name to clipboardExpand all lines: keps/sig-cli/3104-introduce-kuberc/README.md
+54-21Lines changed: 54 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -139,13 +139,13 @@ Items marked with (R) are required *prior to targeting to a milestone / release*
139
139
-[x] (R) Design details are appropriately documented
140
140
-[ ] (R) Test plan is in place, giving consideration to SIG Architecture and SIG Testing input (including test refactors)
141
141
-[ ] e2e Tests for all Beta API Operations (endpoints)
142
-
-[ ] (R) Ensure GA e2e tests for meet requirements for [Conformance Tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/conformance-tests.md)
142
+
-[ ] (R) Ensure GA e2e tests for meet requirements for [Conformance Tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/conformance-tests.md)
143
143
-[ ] (R) Minimum Two Week Window for GA e2e tests to prove flake free
144
144
-[ ] (R) Graduation criteria is in place
145
-
-[ ] (R) [all GA Endpoints](https://github.com/kubernetes/community/pull/1806) must be hit by [Conformance Tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/conformance-tests.md)
146
-
-[] (R) Production readiness review completed
147
-
-[] (R) Production readiness review approved
148
-
-[] "Implementation History" section is up-to-date for milestone
145
+
-[ ] (R) [all GA Endpoints](https://github.com/kubernetes/community/pull/1806) must be hit by [Conformance Tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/conformance-tests.md)
146
+
-[x] (R) Production readiness review completed
147
+
-[x] (R) Production readiness review approved
148
+
-[x] "Implementation History" section is up-to-date for milestone
149
149
-[ ] User-facing documentation has been created in [kubernetes/website], for publication to [kubernetes.io]
150
150
-[ ] Supporting documentation—e.g., additional design documents, links to mailing list discussions/SIG meetings, relevant PRs/issues, release notes
kubectl is one of the oldest parts of the Kubernetes project and has a strong guarantee on backwards compatibility. We want users to be able to opt in to new behaviors (like delete confirmation) that may be considered breaking changes for existing CI jobs and scripts.
194
+
kubectl is one of the oldest parts of the Kubernetes project and has a strong guarantee on backwards compatibility. We want users to be able to opt in to new behaviors (like delete confirmation) that may be considered breaking changes for existing CI jobs and scripts.
195
195
196
-
[kubeconfigs already have a field for preferences](https://github.com/kubernetes/kubernetes/blob/474fd40e38bc4e7f968f7f6dbb741b7783b0740b/staging/src/k8s.io/client-go/tools/clientcmd/api/types.go#L43) that is currently underutilized. The reason for not using this existing field is that creating a new cluster generally yields a new kubeconfig file which contains credentials and host information. While kubeconfigs can be merged and specified by path, we feel there should be a clear separation between server configuration and user preferences.
196
+
[kubeconfig already has a field for preferences](https://github.com/kubernetes/kubernetes/blob/474fd40e38bc4e7f968f7f6dbb741b7783b0740b/staging/src/k8s.io/client-go/tools/clientcmd/api/types.go#L43) that is currently underutilized. The reason for not using this existing field is that creating a new cluster generally yields a new kubeconfig file which contains credentials and host information. While kubeconfigs can be merged and specified by path, we feel there should be a clear separation between server configuration and user preferences.
197
+
198
+
Additionally, users can split kubeconfig files into various locations, while maintaining a single preference file that will apply no matter which `--kubeconfig` flag or `$KUBECONFIG` env var is pointing to.
197
199
198
200
### Goals
199
201
@@ -303,7 +305,7 @@ required) or even code snippets. If there's any ambiguity about HOW your
303
305
proposal will be implemented, this is the place to discuss them.
304
306
-->
305
307
306
-
During alpha this feature will be enabled through the `ENABLE_KUBERC=true` environment variable. The file will default to being located in `~/.kube/kuberc`. A flag will allow overriding this default location with a path i.e. `kubectl --kuberc /var/kube/rc`.
308
+
During alpha this feature will be enabled through the `KUBECTL_KUBERC=true` environment variable. The file will default to being located in `~/.kube/kuberc`. A flag will allow overriding this default location with a path i.e. `kubectl --kuberc /var/kube/rc`.
307
309
308
310
Three initial top level keys are proposed.
309
311
@@ -324,16 +326,21 @@ kind: Preferences
324
326
command:
325
327
aliases:
326
328
- alias: getdbprod
327
-
command: get pods -l what=database --namespace us-2-production
0 commit comments