![]() Automatic merge from submit-queue Add support for 3rd party objects to kubectl @deads2k @jlowdermilk Instructions for playing around with this: Run an apiserver with third party resources turned on (`--runtime-config=extensions/v1beta1=true,extensions/v1beta1/thirdpartyresources=true`) Then you should be able to: ``` kubectl create -f rsrc.json ``` ```json { "metadata": { "name": "foo.company.com" }, "apiVersion": "extensions/v1beta1", "kind": "ThirdPartyResource", "versions": [ { "apiGroup": "group", "name": "v1" }, { "apiGroup": "group", "name": "v2" } ] } ``` Once that is done, you should be able to: ``` curl http://<server>/apis/company.com/v1/foos ``` ``` curl -X POST -d @${HOME}/foo.json http://localhost:8080/apis/company.com/v1/namespaces/default/foos ``` ```json { "kind": "Foo", "apiVersion": "company.com/v1", "metadata": { "name": "baz" }, "someField": "hello world", "otherField": 1 } ``` After this PR, you can do: ``` kubectl create -f foo.json ``` ``` kubectl get foos ``` etc. |
||
---|---|---|
.. | ||
admin | ||
api-reference | ||
design | ||
devel | ||
getting-started-guides | ||
images | ||
man/man1 | ||
proposals | ||
user-guide | ||
OWNERS | ||
README.md | ||
api.md | ||
reporting-security-issues.md | ||
roadmap.md | ||
troubleshooting.md | ||
warning.png | ||
whatisk8s.md |
README.md
PLEASE NOTE: This document applies to the HEAD of the source tree
If you are using a released version of Kubernetes, you should refer to the docs that go with that version.
The latest release of this document can be found [here](http://releases.k8s.io/release-1.2/docs/README.md).Documentation for other releases can be found at releases.k8s.io.
Kubernetes Documentation: releases.k8s.io/HEAD
-
The User's guide is for anyone who wants to run programs and services on an existing Kubernetes cluster.
-
The Cluster Admin's guide is for anyone setting up a Kubernetes cluster or administering it.
-
The Developer guide is for anyone wanting to write programs that access the Kubernetes API, write plugins or extensions, or modify the core code of Kubernetes.
-
The Kubectl Command Line Interface is a detailed reference on the
kubectl
CLI. -
The API object documentation is a detailed description of all fields found in core API objects.
-
An overview of the Design of Kubernetes
-
There are example files and walkthroughs in the examples folder.
-
If something went wrong, see the troubleshooting document for how to debug. You should also check the known issues for the release you're using.
-
To report a security issue, see Reporting a Security Issue.