Production-Grade Container Scheduling and Management
Go to file
Marc Khouzam 7aa5cb4031 Complete multiple resource names
This commit teaches the completion function to repeat resource names
when supported by the command. The logic checks if a resource name
has already been specified by the user and does not include it again
when repeating the completion.

For example, the get command can receive multiple pods names, therefore
with this commit we have:
  kubectl get pod pod1 [tab]
will provide completion of pod names again, but not show 'pod1' since
it is already part of the command-line.

The improvement affects the following commands:
- annotate
- apply edit-last-applied
- apply view-last-applied
- autoscale
- delete
- describe
- edit
- expose
- get
- label
- patch
- rollout history
- rollout pause
- rollout restart
- rollout resume
- rollout undo
- scale
- taint

Note that "rollout status" only accepts a single resource name, unlike
the other "rollout ..." commands; this required the creation of a
special completion function that did not repeat just for that case.

Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2021-10-26 21:50:11 -04:00
.github Use github forms for issue templates 2021-10-05 09:55:38 -07:00
api GA TTLAfterFinish 2021-10-07 16:58:50 -07:00
build [go1.17] Update to go1.17.2 2021-10-14 16:15:51 +08:00
CHANGELOG Add CVE 2021-25741 info to 1.22 Release Notes 2021-10-07 11:09:12 +03:00
cluster [go1.17] Update to go1.17.2 2021-10-14 16:15:51 +08:00
cmd Merge pull request #105649 from navist2020/kubeadm/kubeconfig/cfgPath 2021-10-14 10:49:56 -07:00
docs
hack Merge pull request #104783 from YuviGold/fix-shellcheck-output-streams 2021-10-14 12:58:55 -07:00
LICENSES
logo
pkg cpumanager: test NUMA node support for CPU assign (2) 2021-10-15 10:29:21 +00:00
plugin GA TTLAfterFinish 2021-10-07 16:58:50 -07:00
staging Complete multiple resource names 2021-10-26 21:50:11 -04:00
test Merge pull request #105516 from fromanirh/e2e-kubelet-restart-improvements 2021-10-14 17:58:54 -07:00
third_party
vendor Merge pull request #105539 from pohly/log-registry 2021-10-07 11:49:44 -07:00
.generated_files
.gitattributes
.gitignore
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
go.mod run hack/{pind-dependency.sh, update-vendor.sh} 2021-09-30 19:15:43 +05:30
go.sum run hack/{pind-dependency.sh, update-vendor.sh} 2021-09-30 19:15:43 +05:30
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES Merge pull request #104186 from pacoxu/patch-2 2021-10-05 15:24:57 -07:00
README.md
SECURITY_CONTACTS
SUPPORT.md

Kubernetes (K8s)

GoPkg Widget CII Best Practices


Kubernetes, also known as K8s, is an open source system for managing containerized applications across multiple hosts. It provides basic mechanisms for deployment, maintenance, and scaling of applications.

Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale using a system called Borg, combined with best-of-breed ideas and practices from the community.

Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF). If your company wants to help shape the evolution of technologies that are container-packaged, dynamically scheduled, and microservices-oriented, consider joining the CNCF. For details about who's involved and how Kubernetes plays a role, read the CNCF announcement.


To start using K8s

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To use Kubernetes code as a library in other applications, see the list of published components. Use of the k8s.io/kubernetes module or k8s.io/kubernetes/... packages as libraries is not supported.

To start developing K8s

The community repository hosts all information about building Kubernetes from source, how to contribute code and documentation, who to contact about what, etc.

If you want to build Kubernetes right away there are two options:

You have a working Go environment.
mkdir -p $GOPATH/src/k8s.io
cd $GOPATH/src/k8s.io
git clone https://github.com/kubernetes/kubernetes
cd kubernetes
make
You have a working Docker environment.
git clone https://github.com/kubernetes/kubernetes
cd kubernetes
make quick-release

For the full story, head over to the developer's documentation.

Support

If you need support, start with the troubleshooting guide, and work your way through the process that we've outlined.

That said, if you have questions, reach out to us one way or another.