client-go Docker & Self-Hosted Deployment

GitHub

Go client for Kubernetes.

9,861 stars Go Go 1 file ยท ~8,189 tokens #k8s-staging
1. Pull Image (DOCKERHUB) docker pull kubernetes/client-go:latest
2. Docker Run (1-Click Launch) docker run -d --name client-go --restart always kubernetes/client-go:latest
3. Podman Run podman run -d --name client-go --restart always kubernetes/client-go:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/kubernetes/client-go:latest
5. ORAS Pull (OCI Artifact) oras pull kubernetes/client-go:latest
examples/in-cluster-client-configuration/Dockerfile
# Copyright 2017 The Kubernetes Authors.
#
# 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.

FROM debian
COPY ./app /app
ENTRYPOINT /app