diff --git a/static/docs/reference/generated/kubernetes-api/v1.16/index.html b/static/docs/reference/generated/kubernetes-api/v1.16/index.html index 4afe653615..23f83b60b1 100644 --- a/static/docs/reference/generated/kubernetes-api/v1.16/index.html +++ b/static/docs/reference/generated/kubernetes-api/v1.16/index.html @@ -3750,11 +3750,11 @@
| Code | Description |
|---|---|
| 201 CronJob | Created |
| 200 CronJob | OK |
| 201 CronJob | Created |
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: DaemonSet
metadata:
# Unique key of the DaemonSet instance
@@ -4519,13 +4519,14 @@ spec:
echo "DaemonSet running on $(hostname)" ;
sleep 10 ;
done
+
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: DaemonSet
metadata:
# Unique key of the DaemonSet instance
@@ -4550,6 +4551,7 @@ spec:
echo "DaemonSet running on $(hostname)" ;
sleep 10 ;
done
+
| Group | Version | Kind |
|---|
| Code | Description |
|---|---|
| 201 DaemonSet | Created |
| 200 DaemonSet | OK |
| 201 DaemonSet | Created |
| Code | Description |
|---|---|
| 202 Status | Accepted |
| 200 Status | OK |
| 202 Status | Accepted |
| Code | Description |
|---|---|
| 202 Job | Accepted |
| 200 Job | OK |
| 201 Job | Created |
| 202 Job | Accepted |
| Code | Description |
|---|---|
| 201 Job | Created |
| 200 Job | OK |
| 201 Job | Created |
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: ReplicaSet
metadata:
# Unique key of the ReplicaSet instance
@@ -9457,6 +9478,9 @@ metadata:
spec:
# 3 Pods should exist at all times.
replicas: 3
+ selector:
+ matchLabels:
+ app: nginx
template:
metadata:
labels:
@@ -9473,7 +9497,7 @@ spec:
ReplicaSet Config to run 3 nginx instances.
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: ReplicaSet
metadata:
# Unique key of the ReplicaSet instance
@@ -9481,6 +9505,9 @@ metadata:
spec:
# 3 Pods should exist at all times.
replicas: 3
+ selector:
+ matchLabels:
+ app: nginx
template:
metadata:
labels:
@@ -9592,9 +9619,9 @@ spec:
Code Description
-202
ReplicaSet Accepted
200
ReplicaSet OK
201
ReplicaSet Created
+202
ReplicaSet Accepted
Patch
@@ -9665,8 +9692,8 @@ spec:
Code Description
-201
ReplicaSet Created
200
ReplicaSet OK
+201
ReplicaSet Created
Delete
@@ -11037,8 +11064,8 @@ spec:
Code Description
-202
Status Accepted
200
Status OK
+202
Status Accepted
Delete Collection
@@ -11424,8 +11451,8 @@ spec:
Code Description
-201
Scale Created
200
Scale OK
+201
Scale Created
Patch Scale
@@ -11614,8 +11641,8 @@ Workloads can be accessed via proxy through the api master using the kubec
Code Description
-201
Endpoints Created
200
Endpoints OK
+201
Endpoints Created
Delete
@@ -12019,8 +12046,8 @@ Workloads can be accessed via proxy through the api master using the kubec
Code Description
-201
EndpointSlice Created
200
EndpointSlice OK
+201
EndpointSlice Created
Delete
@@ -13071,9 +13098,9 @@ service "service-example" created
Code Description
-202
Service Accepted
200
Service OK
201
Service Created
+202
Service Accepted
Patch
@@ -13338,8 +13365,8 @@ service "deployment-example" replaced
Code Description
-201
Service Created
200
Service OK
+201
Service Created
Delete
@@ -13427,8 +13454,8 @@ service "deployment-example" deleted
Code Description
-202
Status Accepted
200
Status OK
+202
Status Accepted
Read Operations
@@ -14240,7 +14267,7 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Common resource types:
-- ConfigMaps]for providing text key value pairs injected into the application through environment variables, command line arguments, or files
+- ConfigMapsfor providing text key value pairs injected into the application through environment variables, command line arguments, or files
- Secrets for providing binary data injected into the application through files
- Volumes for providing a filesystem external to the Container. Maybe shared across Containers within the same Pod and have a lifetime persisting beyond a Container or Pod.
@@ -14719,9 +14746,9 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-202
CSIDriver Accepted
200
CSIDriver OK
201
CSIDriver Created
+202
CSIDriver Accepted
Patch
@@ -14827,8 +14854,8 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-202
Status Accepted
200
Status OK
+202
Status Accepted
Delete Collection
@@ -15817,9 +15844,9 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
+200
PersistentVolumeClaim OK
201
PersistentVolumeClaim Created
202
PersistentVolumeClaim Accepted
-200
PersistentVolumeClaim OK
Patch
@@ -15928,8 +15955,8 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-202
Status Accepted
200
Status OK
+202
Status Accepted
Delete Collection
@@ -16392,8 +16419,8 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-201
StorageClass Created
200
StorageClass OK
+201
StorageClass Created
Delete
@@ -17157,9 +17184,9 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
+200
ControllerRevision OK
201
ControllerRevision Created
202
ControllerRevision Accepted
-200
ControllerRevision OK
Patch
@@ -17659,8 +17686,8 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-201
CustomResourceDefinition Created
200
CustomResourceDefinition OK
+201
CustomResourceDefinition Created
Delete
@@ -18098,8 +18125,8 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-201
Event Created
200
Event OK
+201
Event Created
Delete
@@ -18990,8 +19017,8 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-202
Status Accepted
200
Status OK
+202
Status Accepted
Delete Collection
@@ -20051,9 +20078,9 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-202
PodTemplate Accepted
200
PodTemplate OK
201
PodTemplate Created
+202
PodTemplate Accepted
Patch
@@ -20559,8 +20586,8 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-201
PodDisruptionBudget Created
200
PodDisruptionBudget OK
+201
PodDisruptionBudget Created
Delete
@@ -21096,8 +21123,8 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-202
Status Accepted
200
Status OK
+202
Status Accepted
Delete Collection
@@ -22472,8 +22499,8 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-201
APIService Created
200
APIService OK
+201
APIService Created
AuditSink v1alpha1 auditregistration.k8s.io
@@ -22545,9 +22572,9 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-202
AuditSink Accepted
200
AuditSink OK
201
AuditSink Created
+202
AuditSink Accepted
Patch
@@ -22616,8 +22643,8 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-201
AuditSink Created
200
AuditSink OK
+201
AuditSink Created
Delete
@@ -22855,9 +22882,9 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-202
Binding Accepted
200
Binding OK
201
Binding Created
+202
Binding Accepted
CertificateSigningRequest v1beta1 certificates.k8s.io
@@ -22947,9 +22974,9 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-202
CertificateSigningRequest Accepted
200
CertificateSigningRequest OK
201
CertificateSigningRequest Created
+202
CertificateSigningRequest Accepted
Patch
@@ -23055,8 +23082,8 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-202
Status Accepted
200
Status OK
+202
Status Accepted
Delete Collection
@@ -23366,9 +23393,9 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-202
ClusterRole Accepted
200
ClusterRole OK
201
ClusterRole Created
+202
ClusterRole Accepted
Patch
@@ -24504,9 +24531,9 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
+200
LocalSubjectAccessReview OK
201
LocalSubjectAccessReview Created
202
LocalSubjectAccessReview Accepted
-200
LocalSubjectAccessReview OK
Namespace v1 core
@@ -24591,9 +24618,9 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-202
Namespace Accepted
200
Namespace OK
201
Namespace Created
+202
Namespace Accepted
Patch
@@ -25080,8 +25107,8 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-201
Node Created
200
Node OK
+201
Node Created
Delete
@@ -26261,8 +26288,8 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-201
ResourceQuota Created
200
ResourceQuota OK
+201
ResourceQuota Created
Delete
@@ -26694,9 +26721,9 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
+200
Role OK
201
Role Created
202
Role Accepted
-200
Role OK
Patch
@@ -27173,8 +27200,8 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
-201
RoleBinding Created
200
RoleBinding OK
+201
RoleBinding Created
Delete
@@ -27499,9 +27526,9 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
+200
RuntimeClass OK
201
RuntimeClass Created
202
RuntimeClass Accepted
-200
RuntimeClass OK
Patch
@@ -27881,9 +27908,9 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
+200
SelfSubjectRulesReview OK
201
SelfSubjectRulesReview Created
202
SelfSubjectRulesReview Accepted
-200
SelfSubjectRulesReview OK
ServiceAccount v1 core
@@ -27951,9 +27978,9 @@ $ curl -X GET 'http://127.0.0.1:8001/api/v1/watch/namespaces/default/services/de
Code Description
+200
ServiceAccount OK
201
ServiceAccount Created
202
ServiceAccount Accepted
-200
ServiceAccount OK
Patch
@@ -32442,7 +32469,7 @@ DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mou
generateName
stringGenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
generation
integerA sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
labels
objectMap of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
-managedFields
ManagedFieldsEntry arrayManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object.
+managedFields
ManagedFieldsEntry arrayManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. This field is alpha and can be changed or removed without notice.
name
stringName must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
namespace
stringNamespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
ownerReferences
OwnerReference array
patch strategy: merge
patch merge key: uidList of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
@@ -34993,8 +35020,8 @@ The contents of the target Secret's Data field will be presented in a volume
Code Description
-201
APIService Created
200
APIService OK
+201
APIService Created
Delete
@@ -35536,8 +35563,8 @@ The contents of the target Secret's Data field will be presented in a volume
Code Description
-201
ClusterRole Created
200
ClusterRole OK
+201
ClusterRole Created
Delete
@@ -35894,8 +35921,8 @@ The contents of the target Secret's Data field will be presented in a volume
Code Description
-202
Status Accepted
200
Status OK
+202
Status Accepted
Delete Collection
@@ -37602,9 +37629,9 @@ The contents of the target Secret's Data field will be presented in a volume
Code Description
+200
CronJob OK
201
CronJob Created
202
CronJob Accepted
-200
CronJob OK
Patch
@@ -37713,8 +37740,8 @@ The contents of the target Secret's Data field will be presented in a volume
Code Description
-202
Status Accepted
200
Status OK
+202
Status Accepted
Delete Collection
@@ -38037,8 +38064,8 @@ The contents of the target Secret's Data field will be presented in a volume
Code Description
-201
CronJob Created
200
CronJob OK
+201
CronJob Created
CrossVersionObjectReference v2beta2 autoscaling
@@ -38238,9 +38265,9 @@ The contents of the target Secret's Data field will be presented in a volume
Code Description
-202
CustomResourceDefinition Accepted
200
CustomResourceDefinition OK
201
CustomResourceDefinition Created
+202
CustomResourceDefinition Accepted
Patch
@@ -38860,7 +38887,7 @@ The contents of the target Secret's Data field will be presented in a volume
kubectl command
-$ echo 'apiVersion: extensions/v1beta1
+$ echo 'apiVersion: apps/v1
kind: DaemonSet
metadata:
name: daemonset-example
@@ -38891,7 +38918,7 @@ spec:
$ kubectl proxy
$ curl -X POST -H 'Content-Type: application/yaml' --data '
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: DaemonSet
metadata:
name: daemonset-example
@@ -38935,11 +38962,11 @@ daemonset "daemonset-example" created
{
"kind": "DaemonSet",
- "apiVersion": "extensions/v1beta1",
+ "apiVersion": "apps/v1",
"metadata": {
"name": "daemonset-example",
"namespace": "default",
- "selfLink": "/apis/extensions/v1beta1/namespaces/default/daemonsets/daemonset-example",
+ "selfLink": "/apis/apps/v1/namespaces/default/daemonsets/daemonset-example",
"uid": "65552ced-b0e2-11e6-aef0-42010af00229",
"resourceVersion": "3558",
"generation": 1,
@@ -38991,6 +39018,7 @@ daemonset "daemonset-example" created
"desiredNumberScheduled": 0
}
}
+
create a DaemonSet
| Code | Description |
|---|---|
| 202 DaemonSet | Accepted |
| 200 DaemonSet | OK |
| 201 DaemonSet | Created |
| 202 DaemonSet | Accepted |
kubectl command
-$ echo 'apiVersion: extensions/v1beta1
+$ echo 'apiVersion: apps/v1
kind: DaemonSet
metadata:
name: daemonset-example
@@ -39663,7 +39691,7 @@ spec:
$ kubectl proxy
$ curl -X POST -H 'Content-Type: application/yaml' --data '
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: DaemonSet
metadata:
name: daemonset-example
@@ -39707,11 +39735,11 @@ daemonset "daemonset-example" created
{
"kind": "DaemonSet",
- "apiVersion": "extensions/v1beta1",
+ "apiVersion": "apps/v1",
"metadata": {
"name": "daemonset-example",
"namespace": "default",
- "selfLink": "/apis/extensions/v1beta1/namespaces/default/daemonsets/daemonset-example",
+ "selfLink": "/apis/apps/v1/namespaces/default/daemonsets/daemonset-example",
"uid": "65552ced-b0e2-11e6-aef0-42010af00229",
"resourceVersion": "3558",
"generation": 1,
@@ -39763,6 +39791,7 @@ daemonset "daemonset-example" created
"desiredNumberScheduled": 0
}
}
+
create a DaemonSet
| Code | Description |
|---|---|
| 202 DaemonSet | Accepted |
| 200 DaemonSet | OK |
| 201 DaemonSet | Created |
| 202 DaemonSet | Accepted |
| Code | Description |
|---|---|
| 201 DaemonSet | Created |
| 200 DaemonSet | OK |
| 201 DaemonSet | Created |
| Code | Description |
|---|---|
| 201 Scale | Created |
| 200 Scale | OK |
| 201 Scale | Created |
| Code | Description |
|---|---|
| 201 Scale | Created |
| 200 Scale | OK |
| 201 Scale | Created |
| Code | Description |
|---|---|
| 202 Status | Accepted |
| 200 Status | OK |
| 202 Status | Accepted |
| Code | Description |
|---|---|
| 202 Ingress | Accepted |
| 200 Ingress | OK |
| 201 Ingress | Created |
| 202 Ingress | Accepted |
| Code | Description |
|---|---|
| 201 Ingress | Created |
| 200 Ingress | OK |
| 201 Ingress | Created |
| Code | Description |
|---|---|
| 202 Lease | Accepted |
| 200 Lease | OK |
| 201 Lease | Created |
| 202 Lease | Accepted |
| Code | Description |
|---|---|
| 202 Status | Accepted |
| 200 Status | OK |
| 202 Status | Accepted |
| Code | Description |
|---|---|
| 202 Status | Accepted |
| 200 Status | OK |
| 202 Status | Accepted |
| Code | Description |
|---|---|
| 200 ReplicaSet | OK |
| 201 ReplicaSet | Created |
| 202 ReplicaSet | Accepted |
| 200 ReplicaSet | OK |
| Code | Description |
|---|---|
| 201 ReplicaSet | Created |
| 200 ReplicaSet | OK |
| 201 ReplicaSet | Created |
| Code | Description |
|---|---|
| 200 ReplicaSet | OK |
| 201 ReplicaSet | Created |
| 202 ReplicaSet | Accepted |
| 200 ReplicaSet | OK |
| Code | Description |
|---|---|
| 201 Scale | Created |
| 200 Scale | OK |
| 201 Scale | Created |
| Code | Description |
|---|---|
| 202 Role | Accepted |
| 200 Role | OK |
| 201 Role | Created |
| 202 Role | Accepted |
| Code | Description |
|---|---|
| 200 Role | OK |
| 201 Role | Created |
| 202 Role | Accepted |
| 200 Role | OK |
| Code | Description |
|---|---|
| 202 Status | Accepted |
| 200 Status | OK |
| 202 Status | Accepted |
| Code | Description |
|---|---|
| 202 Status | Accepted |
| 200 Status | OK |
| 202 Status | Accepted |
| Code | Description |
|---|---|
| 202 RuntimeClass | Accepted |
| 200 RuntimeClass | OK |
| 201 RuntimeClass | Created |
| 202 RuntimeClass | Accepted |
| Code | Description |
|---|---|
| 200 StatefulSet | OK |
| 201 StatefulSet | Created |
| 202 StatefulSet | Accepted |
| 200 StatefulSet | OK |
| Code | Description |
|---|---|
| 201 Scale | Created |
| 200 Scale | OK |
| 201 Scale | Created |
| Code | Description |
|---|---|
| 202 ValidatingWebhookConfiguration | Accepted |
| 200 ValidatingWebhookConfiguration | OK |
| 201 ValidatingWebhookConfiguration | Created |
| 202 ValidatingWebhookConfiguration | Accepted |
| Code | Description |
|---|---|
| 201 ValidatingWebhookConfiguration | Created |
| 200 ValidatingWebhookConfiguration | OK |
| 201 ValidatingWebhookConfiguration | Created |
| Code | Description |
|---|---|
| 202 Status | Accepted |
| 200 Status | OK |
| 202 Status | Accepted |
| Code | Description |
|---|---|
| 200 VolumeAttachment | OK |
| 201 VolumeAttachment | Created |
| 202 VolumeAttachment | Accepted |
| 200 VolumeAttachment | OK |
| Code | Description |
|---|---|
| 202 Status | Accepted |
| 200 Status | OK |
| 202 Status | Accepted |