diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index bfe4305d2fe..1ea7e7f232b 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -14382,9 +14382,9 @@ } } }, - "/apis/apps/v1alpha1/namespaces/{namespace}/petsets": { + "/apis/apps/v1alpha1/namespaces/{namespace}/statefulsets": { "get": { - "description": "list or watch objects of kind PetSet", + "description": "list or watch objects of kind StatefulSet", "consumes": [ "*/*" ], @@ -14399,7 +14399,7 @@ "tags": [ "apps_v1alpha1" ], - "operationId": "listAppsV1alpha1NamespacedPetSet", + "operationId": "listAppsV1alpha1NamespacedStatefulSet", "parameters": [ { "uniqueItems": true, @@ -14441,7 +14441,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PetSetList" + "$ref": "#/definitions/v1alpha1.StatefulSetList" } }, "401": { @@ -14450,7 +14450,7 @@ } }, "post": { - "description": "create a PetSet", + "description": "create a StatefulSet", "consumes": [ "*/*" ], @@ -14465,14 +14465,14 @@ "tags": [ "apps_v1alpha1" ], - "operationId": "createAppsV1alpha1NamespacedPetSet", + "operationId": "createAppsV1alpha1NamespacedStatefulSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PetSet" + "$ref": "#/definitions/v1alpha1.StatefulSet" } } ], @@ -14480,7 +14480,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PetSet" + "$ref": "#/definitions/v1alpha1.StatefulSet" } }, "401": { @@ -14489,7 +14489,7 @@ } }, "delete": { - "description": "delete collection of PetSet", + "description": "delete collection of StatefulSet", "consumes": [ "*/*" ], @@ -14504,7 +14504,7 @@ "tags": [ "apps_v1alpha1" ], - "operationId": "deleteAppsV1alpha1CollectionNamespacedPetSet", + "operationId": "deleteAppsV1alpha1CollectionNamespacedStatefulSet", "parameters": [ { "uniqueItems": true, @@ -14572,9 +14572,9 @@ } ] }, - "/apis/apps/v1alpha1/namespaces/{namespace}/petsets/{name}": { + "/apis/apps/v1alpha1/namespaces/{namespace}/statefulsets/{name}": { "get": { - "description": "read the specified PetSet", + "description": "read the specified StatefulSet", "consumes": [ "*/*" ], @@ -14589,7 +14589,7 @@ "tags": [ "apps_v1alpha1" ], - "operationId": "readAppsV1alpha1NamespacedPetSet", + "operationId": "readAppsV1alpha1NamespacedStatefulSet", "parameters": [ { "uniqueItems": true, @@ -14610,7 +14610,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PetSet" + "$ref": "#/definitions/v1alpha1.StatefulSet" } }, "401": { @@ -14619,7 +14619,7 @@ } }, "put": { - "description": "replace the specified PetSet", + "description": "replace the specified StatefulSet", "consumes": [ "*/*" ], @@ -14634,14 +14634,14 @@ "tags": [ "apps_v1alpha1" ], - "operationId": "replaceAppsV1alpha1NamespacedPetSet", + "operationId": "replaceAppsV1alpha1NamespacedStatefulSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PetSet" + "$ref": "#/definitions/v1alpha1.StatefulSet" } } ], @@ -14649,7 +14649,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PetSet" + "$ref": "#/definitions/v1alpha1.StatefulSet" } }, "401": { @@ -14658,7 +14658,7 @@ } }, "delete": { - "description": "delete a PetSet", + "description": "delete a StatefulSet", "consumes": [ "*/*" ], @@ -14673,7 +14673,7 @@ "tags": [ "apps_v1alpha1" ], - "operationId": "deleteAppsV1alpha1NamespacedPetSet", + "operationId": "deleteAppsV1alpha1NamespacedStatefulSet", "parameters": [ { "name": "body", @@ -14697,7 +14697,7 @@ } }, "patch": { - "description": "partially update the specified PetSet", + "description": "partially update the specified StatefulSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -14714,7 +14714,7 @@ "tags": [ "apps_v1alpha1" ], - "operationId": "patchAppsV1alpha1NamespacedPetSet", + "operationId": "patchAppsV1alpha1NamespacedStatefulSet", "parameters": [ { "name": "body", @@ -14729,7 +14729,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PetSet" + "$ref": "#/definitions/v1alpha1.StatefulSet" } }, "401": { @@ -14741,7 +14741,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the PetSet", + "description": "name of the StatefulSet", "name": "name", "in": "path", "required": true @@ -14763,9 +14763,9 @@ } ] }, - "/apis/apps/v1alpha1/namespaces/{namespace}/petsets/{name}/status": { + "/apis/apps/v1alpha1/namespaces/{namespace}/statefulsets/{name}/status": { "get": { - "description": "read status of the specified PetSet", + "description": "read status of the specified StatefulSet", "consumes": [ "*/*" ], @@ -14780,12 +14780,12 @@ "tags": [ "apps_v1alpha1" ], - "operationId": "readAppsV1alpha1NamespacedPetSetStatus", + "operationId": "readAppsV1alpha1NamespacedStatefulSetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PetSet" + "$ref": "#/definitions/v1alpha1.StatefulSet" } }, "401": { @@ -14794,7 +14794,7 @@ } }, "put": { - "description": "replace status of the specified PetSet", + "description": "replace status of the specified StatefulSet", "consumes": [ "*/*" ], @@ -14809,14 +14809,14 @@ "tags": [ "apps_v1alpha1" ], - "operationId": "replaceAppsV1alpha1NamespacedPetSetStatus", + "operationId": "replaceAppsV1alpha1NamespacedStatefulSetStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PetSet" + "$ref": "#/definitions/v1alpha1.StatefulSet" } } ], @@ -14824,7 +14824,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PetSet" + "$ref": "#/definitions/v1alpha1.StatefulSet" } }, "401": { @@ -14833,7 +14833,7 @@ } }, "patch": { - "description": "partially update status of the specified PetSet", + "description": "partially update status of the specified StatefulSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -14850,7 +14850,7 @@ "tags": [ "apps_v1alpha1" ], - "operationId": "patchAppsV1alpha1NamespacedPetSetStatus", + "operationId": "patchAppsV1alpha1NamespacedStatefulSetStatus", "parameters": [ { "name": "body", @@ -14865,7 +14865,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PetSet" + "$ref": "#/definitions/v1alpha1.StatefulSet" } }, "401": { @@ -14877,7 +14877,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the PetSet", + "description": "name of the StatefulSet", "name": "name", "in": "path", "required": true @@ -14899,9 +14899,9 @@ } ] }, - "/apis/apps/v1alpha1/petsets": { + "/apis/apps/v1alpha1/statefulsets": { "get": { - "description": "list or watch objects of kind PetSet", + "description": "list or watch objects of kind StatefulSet", "consumes": [ "*/*" ], @@ -14916,12 +14916,12 @@ "tags": [ "apps_v1alpha1" ], - "operationId": "listAppsV1alpha1PetSetForAllNamespaces", + "operationId": "listAppsV1alpha1StatefulSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PetSetList" + "$ref": "#/definitions/v1alpha1.StatefulSetList" } }, "401": { @@ -14974,9 +14974,9 @@ } ] }, - "/apis/apps/v1alpha1/watch/namespaces/{namespace}/petsets": { + "/apis/apps/v1alpha1/watch/namespaces/{namespace}/statefulsets": { "get": { - "description": "watch individual changes to a list of PetSet", + "description": "watch individual changes to a list of StatefulSet", "consumes": [ "*/*" ], @@ -14992,7 +14992,7 @@ "tags": [ "apps_v1alpha1" ], - "operationId": "watchAppsV1alpha1NamespacedPetSetList", + "operationId": "watchAppsV1alpha1NamespacedStatefulSetList", "responses": { "200": { "description": "OK", @@ -15058,9 +15058,9 @@ } ] }, - "/apis/apps/v1alpha1/watch/namespaces/{namespace}/petsets/{name}": { + "/apis/apps/v1alpha1/watch/namespaces/{namespace}/statefulsets/{name}": { "get": { - "description": "watch changes to an object of kind PetSet", + "description": "watch changes to an object of kind StatefulSet", "consumes": [ "*/*" ], @@ -15076,7 +15076,7 @@ "tags": [ "apps_v1alpha1" ], - "operationId": "watchAppsV1alpha1NamespacedPetSet", + "operationId": "watchAppsV1alpha1NamespacedStatefulSet", "responses": { "200": { "description": "OK", @@ -15107,7 +15107,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the PetSet", + "description": "name of the StatefulSet", "name": "name", "in": "path", "required": true @@ -15150,9 +15150,9 @@ } ] }, - "/apis/apps/v1alpha1/watch/petsets": { + "/apis/apps/v1alpha1/watch/statefulsets": { "get": { - "description": "watch individual changes to a list of PetSet", + "description": "watch individual changes to a list of StatefulSet", "consumes": [ "*/*" ], @@ -15168,7 +15168,7 @@ "tags": [ "apps_v1alpha1" ], - "operationId": "watchAppsV1alpha1PetSetListForAllNamespaces", + "operationId": "watchAppsV1alpha1StatefulSetListForAllNamespaces", "responses": { "200": { "description": "OK", @@ -32209,90 +32209,6 @@ } } }, - "v1alpha1.PetSet": { - "description": "PetSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe PetSet guarantees that a given network identity will always map to the same storage identity. PetSet is currently in alpha and subject to change without notice.", - "properties": { - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Spec defines the desired identities of pets in this set.", - "$ref": "#/definitions/v1alpha1.PetSetSpec" - }, - "status": { - "description": "Status is the current status of Pets in this PetSet. This data may be out of date by some window of time.", - "$ref": "#/definitions/v1alpha1.PetSetStatus" - } - } - }, - "v1alpha1.PetSetList": { - "description": "PetSetList is a collection of PetSets.", - "required": [ - "items" - ], - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/v1alpha1.PetSet" - } - }, - "metadata": { - "$ref": "#/definitions/unversioned.ListMeta" - } - } - }, - "v1alpha1.PetSetSpec": { - "description": "A PetSetSpec is the specification of a PetSet.", - "required": [ - "template", - "serviceName" - ], - "properties": { - "replicas": { - "description": "Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", - "format": "int32" - }, - "selector": { - "description": "Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/unversioned.LabelSelector" - }, - "serviceName": { - "description": "ServiceName is the name of the service that governs this PetSet. This service must exist before the PetSet, and is responsible for the network identity of the set. Pets get DNS/hostnames that follow the pattern: pet-specific-string.serviceName.default.svc.cluster.local where \"pet-specific-string\" is managed by the PetSet controller.", - "type": "string" - }, - "template": { - "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the PetSet will fulfill this Template, but have a unique identity from the rest of the PetSet.", - "$ref": "#/definitions/v1.PodTemplateSpec" - }, - "volumeClaimTemplates": { - "description": "VolumeClaimTemplates is a list of claims that pets are allowed to reference. The PetSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pet. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.PersistentVolumeClaim" - } - } - } - }, - "v1alpha1.PetSetStatus": { - "description": "PetSetStatus represents the current state of a PetSet.", - "required": [ - "replicas" - ], - "properties": { - "observedGeneration": { - "description": "most recent generation observed by this autoscaler.", - "type": "integer", - "format": "int64" - }, - "replicas": { - "description": "Replicas is the number of actual replicas.", - "type": "integer", - "format": "int32" - } - } - }, "v1alpha1.PodDisruptionBudget": { "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { @@ -32519,6 +32435,90 @@ } } }, + "v1alpha1.StatefulSet": { + "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity. StatefulSet is currently in alpha and subject to change without notice.", + "properties": { + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the desired identities of pods in this set.", + "$ref": "#/definitions/v1alpha1.StatefulSetSpec" + }, + "status": { + "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.", + "$ref": "#/definitions/v1alpha1.StatefulSetStatus" + } + } + }, + "v1alpha1.StatefulSetList": { + "description": "StatefulSetList is a collection of StatefulSets.", + "required": [ + "items" + ], + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.StatefulSet" + } + }, + "metadata": { + "$ref": "#/definitions/unversioned.ListMeta" + } + } + }, + "v1alpha1.StatefulSetSpec": { + "description": "A StatefulSetSpec is the specification of a StatefulSet.", + "required": [ + "template", + "serviceName" + ], + "properties": { + "replicas": { + "description": "Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", + "$ref": "#/definitions/unversioned.LabelSelector" + }, + "serviceName": { + "description": "ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", + "type": "string" + }, + "template": { + "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.", + "$ref": "#/definitions/v1.PodTemplateSpec" + }, + "volumeClaimTemplates": { + "description": "VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PersistentVolumeClaim" + } + } + } + }, + "v1alpha1.StatefulSetStatus": { + "description": "StatefulSetStatus represents the current state of a StatefulSet.", + "required": [ + "replicas" + ], + "properties": { + "observedGeneration": { + "description": "most recent generation observed by this autoscaler.", + "type": "integer", + "format": "int64" + }, + "replicas": { + "description": "Replicas is the number of actual replicas.", + "type": "integer", + "format": "int32" + } + } + }, "v1alpha1.Subject": { "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", "required": [ diff --git a/api/swagger-spec/apps_v1alpha1.json b/api/swagger-spec/apps_v1alpha1.json index b6189b019f9..825c60ff9db 100644 --- a/api/swagger-spec/apps_v1alpha1.json +++ b/api/swagger-spec/apps_v1alpha1.json @@ -9,14 +9,14 @@ }, "apis": [ { - "path": "/apis/apps/v1alpha1/namespaces/{namespace}/petsets", + "path": "/apis/apps/v1alpha1/namespaces/{namespace}/statefulsets", "description": "API at /apis/apps/v1alpha1", "operations": [ { - "type": "v1alpha1.PetSetList", + "type": "v1alpha1.StatefulSetList", "method": "GET", - "summary": "list or watch objects of kind PetSet", - "nickname": "listNamespacedPetSet", + "summary": "list or watch objects of kind StatefulSet", + "nickname": "listNamespacedStatefulSet", "parameters": [ { "type": "string", @@ -79,7 +79,7 @@ { "code": 200, "message": "OK", - "responseModel": "v1alpha1.PetSetList" + "responseModel": "v1alpha1.StatefulSetList" } ], "produces": [ @@ -92,10 +92,10 @@ ] }, { - "type": "v1alpha1.PetSet", + "type": "v1alpha1.StatefulSet", "method": "POST", - "summary": "create a PetSet", - "nickname": "createNamespacedPetSet", + "summary": "create a StatefulSet", + "nickname": "createNamespacedStatefulSet", "parameters": [ { "type": "string", @@ -106,7 +106,7 @@ "allowMultiple": false }, { - "type": "v1alpha1.PetSet", + "type": "v1alpha1.StatefulSet", "paramType": "body", "name": "body", "description": "", @@ -126,7 +126,7 @@ { "code": 200, "message": "OK", - "responseModel": "v1alpha1.PetSet" + "responseModel": "v1alpha1.StatefulSet" } ], "produces": [ @@ -141,8 +141,8 @@ { "type": "unversioned.Status", "method": "DELETE", - "summary": "delete collection of PetSet", - "nickname": "deletecollectionNamespacedPetSet", + "summary": "delete collection of StatefulSet", + "nickname": "deletecollectionNamespacedStatefulSet", "parameters": [ { "type": "string", @@ -220,14 +220,14 @@ ] }, { - "path": "/apis/apps/v1alpha1/watch/namespaces/{namespace}/petsets", + "path": "/apis/apps/v1alpha1/watch/namespaces/{namespace}/statefulsets", "description": "API at /apis/apps/v1alpha1", "operations": [ { "type": "versioned.Event", "method": "GET", - "summary": "watch individual changes to a list of PetSet", - "nickname": "watchNamespacedPetSetList", + "summary": "watch individual changes to a list of StatefulSet", + "nickname": "watchNamespacedStatefulSetList", "parameters": [ { "type": "string", @@ -306,14 +306,14 @@ ] }, { - "path": "/apis/apps/v1alpha1/namespaces/{namespace}/petsets/{name}", + "path": "/apis/apps/v1alpha1/namespaces/{namespace}/statefulsets/{name}", "description": "API at /apis/apps/v1alpha1", "operations": [ { - "type": "v1alpha1.PetSet", + "type": "v1alpha1.StatefulSet", "method": "GET", - "summary": "read the specified PetSet", - "nickname": "readNamespacedPetSet", + "summary": "read the specified StatefulSet", + "nickname": "readNamespacedStatefulSet", "parameters": [ { "type": "string", @@ -351,7 +351,7 @@ "type": "string", "paramType": "path", "name": "name", - "description": "name of the PetSet", + "description": "name of the StatefulSet", "required": true, "allowMultiple": false } @@ -360,7 +360,7 @@ { "code": 200, "message": "OK", - "responseModel": "v1alpha1.PetSet" + "responseModel": "v1alpha1.StatefulSet" } ], "produces": [ @@ -373,10 +373,10 @@ ] }, { - "type": "v1alpha1.PetSet", + "type": "v1alpha1.StatefulSet", "method": "PUT", - "summary": "replace the specified PetSet", - "nickname": "replaceNamespacedPetSet", + "summary": "replace the specified StatefulSet", + "nickname": "replaceNamespacedStatefulSet", "parameters": [ { "type": "string", @@ -387,7 +387,7 @@ "allowMultiple": false }, { - "type": "v1alpha1.PetSet", + "type": "v1alpha1.StatefulSet", "paramType": "body", "name": "body", "description": "", @@ -406,7 +406,7 @@ "type": "string", "paramType": "path", "name": "name", - "description": "name of the PetSet", + "description": "name of the StatefulSet", "required": true, "allowMultiple": false } @@ -415,7 +415,7 @@ { "code": 200, "message": "OK", - "responseModel": "v1alpha1.PetSet" + "responseModel": "v1alpha1.StatefulSet" } ], "produces": [ @@ -428,10 +428,10 @@ ] }, { - "type": "v1alpha1.PetSet", + "type": "v1alpha1.StatefulSet", "method": "PATCH", - "summary": "partially update the specified PetSet", - "nickname": "patchNamespacedPetSet", + "summary": "partially update the specified StatefulSet", + "nickname": "patchNamespacedStatefulSet", "parameters": [ { "type": "string", @@ -461,7 +461,7 @@ "type": "string", "paramType": "path", "name": "name", - "description": "name of the PetSet", + "description": "name of the StatefulSet", "required": true, "allowMultiple": false } @@ -470,7 +470,7 @@ { "code": 200, "message": "OK", - "responseModel": "v1alpha1.PetSet" + "responseModel": "v1alpha1.StatefulSet" } ], "produces": [ @@ -487,8 +487,8 @@ { "type": "unversioned.Status", "method": "DELETE", - "summary": "delete a PetSet", - "nickname": "deleteNamespacedPetSet", + "summary": "delete a StatefulSet", + "nickname": "deleteNamespacedStatefulSet", "parameters": [ { "type": "string", @@ -518,7 +518,7 @@ "type": "string", "paramType": "path", "name": "name", - "description": "name of the PetSet", + "description": "name of the StatefulSet", "required": true, "allowMultiple": false } @@ -542,14 +542,14 @@ ] }, { - "path": "/apis/apps/v1alpha1/watch/namespaces/{namespace}/petsets/{name}", + "path": "/apis/apps/v1alpha1/watch/namespaces/{namespace}/statefulsets/{name}", "description": "API at /apis/apps/v1alpha1", "operations": [ { "type": "versioned.Event", "method": "GET", - "summary": "watch changes to an object of kind PetSet", - "nickname": "watchNamespacedPetSet", + "summary": "watch changes to an object of kind StatefulSet", + "nickname": "watchNamespacedStatefulSet", "parameters": [ { "type": "string", @@ -611,7 +611,7 @@ "type": "string", "paramType": "path", "name": "name", - "description": "name of the PetSet", + "description": "name of the StatefulSet", "required": true, "allowMultiple": false } @@ -636,14 +636,14 @@ ] }, { - "path": "/apis/apps/v1alpha1/petsets", + "path": "/apis/apps/v1alpha1/statefulsets", "description": "API at /apis/apps/v1alpha1", "operations": [ { - "type": "v1alpha1.PetSetList", + "type": "v1alpha1.StatefulSetList", "method": "GET", - "summary": "list or watch objects of kind PetSet", - "nickname": "listPetSetForAllNamespaces", + "summary": "list or watch objects of kind StatefulSet", + "nickname": "listStatefulSetForAllNamespaces", "parameters": [ { "type": "string", @@ -698,7 +698,7 @@ { "code": 200, "message": "OK", - "responseModel": "v1alpha1.PetSetList" + "responseModel": "v1alpha1.StatefulSetList" } ], "produces": [ @@ -713,14 +713,14 @@ ] }, { - "path": "/apis/apps/v1alpha1/watch/petsets", + "path": "/apis/apps/v1alpha1/watch/statefulsets", "description": "API at /apis/apps/v1alpha1", "operations": [ { "type": "versioned.Event", "method": "GET", - "summary": "watch individual changes to a list of PetSet", - "nickname": "watchPetSetListForAllNamespaces", + "summary": "watch individual changes to a list of StatefulSet", + "nickname": "watchStatefulSetListForAllNamespaces", "parameters": [ { "type": "string", @@ -791,14 +791,14 @@ ] }, { - "path": "/apis/apps/v1alpha1/namespaces/{namespace}/petsets/{name}/status", + "path": "/apis/apps/v1alpha1/namespaces/{namespace}/statefulsets/{name}/status", "description": "API at /apis/apps/v1alpha1", "operations": [ { - "type": "v1alpha1.PetSet", + "type": "v1alpha1.StatefulSet", "method": "GET", - "summary": "read status of the specified PetSet", - "nickname": "readNamespacedPetSetStatus", + "summary": "read status of the specified StatefulSet", + "nickname": "readNamespacedStatefulSetStatus", "parameters": [ { "type": "string", @@ -820,7 +820,7 @@ "type": "string", "paramType": "path", "name": "name", - "description": "name of the PetSet", + "description": "name of the StatefulSet", "required": true, "allowMultiple": false } @@ -829,7 +829,7 @@ { "code": 200, "message": "OK", - "responseModel": "v1alpha1.PetSet" + "responseModel": "v1alpha1.StatefulSet" } ], "produces": [ @@ -842,10 +842,10 @@ ] }, { - "type": "v1alpha1.PetSet", + "type": "v1alpha1.StatefulSet", "method": "PUT", - "summary": "replace status of the specified PetSet", - "nickname": "replaceNamespacedPetSetStatus", + "summary": "replace status of the specified StatefulSet", + "nickname": "replaceNamespacedStatefulSetStatus", "parameters": [ { "type": "string", @@ -856,7 +856,7 @@ "allowMultiple": false }, { - "type": "v1alpha1.PetSet", + "type": "v1alpha1.StatefulSet", "paramType": "body", "name": "body", "description": "", @@ -875,7 +875,7 @@ "type": "string", "paramType": "path", "name": "name", - "description": "name of the PetSet", + "description": "name of the StatefulSet", "required": true, "allowMultiple": false } @@ -884,7 +884,7 @@ { "code": 200, "message": "OK", - "responseModel": "v1alpha1.PetSet" + "responseModel": "v1alpha1.StatefulSet" } ], "produces": [ @@ -897,10 +897,10 @@ ] }, { - "type": "v1alpha1.PetSet", + "type": "v1alpha1.StatefulSet", "method": "PATCH", - "summary": "partially update status of the specified PetSet", - "nickname": "patchNamespacedPetSetStatus", + "summary": "partially update status of the specified StatefulSet", + "nickname": "patchNamespacedStatefulSetStatus", "parameters": [ { "type": "string", @@ -930,7 +930,7 @@ "type": "string", "paramType": "path", "name": "name", - "description": "name of the PetSet", + "description": "name of the StatefulSet", "required": true, "allowMultiple": false } @@ -939,7 +939,7 @@ { "code": 200, "message": "OK", - "responseModel": "v1alpha1.PetSet" + "responseModel": "v1alpha1.StatefulSet" } ], "produces": [ @@ -980,9 +980,9 @@ } ], "models": { - "v1alpha1.PetSetList": { - "id": "v1alpha1.PetSetList", - "description": "PetSetList is a collection of PetSets.", + "v1alpha1.StatefulSetList": { + "id": "v1alpha1.StatefulSetList", + "description": "StatefulSetList is a collection of StatefulSets.", "required": [ "items" ], @@ -1001,7 +1001,7 @@ "items": { "type": "array", "items": { - "$ref": "v1alpha1.PetSet" + "$ref": "v1alpha1.StatefulSet" } } } @@ -1020,9 +1020,9 @@ } } }, - "v1alpha1.PetSet": { - "id": "v1alpha1.PetSet", - "description": "PetSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe PetSet guarantees that a given network identity will always map to the same storage identity. PetSet is currently in alpha and subject to change without notice.", + "v1alpha1.StatefulSet": { + "id": "v1alpha1.StatefulSet", + "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity. StatefulSet is currently in alpha and subject to change without notice.", "properties": { "kind": { "type": "string", @@ -1036,12 +1036,12 @@ "$ref": "v1.ObjectMeta" }, "spec": { - "$ref": "v1alpha1.PetSetSpec", - "description": "Spec defines the desired identities of pets in this set." + "$ref": "v1alpha1.StatefulSetSpec", + "description": "Spec defines the desired identities of pods in this set." }, "status": { - "$ref": "v1alpha1.PetSetStatus", - "description": "Status is the current status of Pets in this PetSet. This data may be out of date by some window of time." + "$ref": "v1alpha1.StatefulSetStatus", + "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." } } }, @@ -1153,9 +1153,9 @@ } } }, - "v1alpha1.PetSetSpec": { - "id": "v1alpha1.PetSetSpec", - "description": "A PetSetSpec is the specification of a PetSet.", + "v1alpha1.StatefulSetSpec": { + "id": "v1alpha1.StatefulSetSpec", + "description": "A StatefulSetSpec is the specification of a StatefulSet.", "required": [ "template", "serviceName" @@ -1172,18 +1172,18 @@ }, "template": { "$ref": "v1.PodTemplateSpec", - "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the PetSet will fulfill this Template, but have a unique identity from the rest of the PetSet." + "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet." }, "volumeClaimTemplates": { "type": "array", "items": { "$ref": "v1.PersistentVolumeClaim" }, - "description": "VolumeClaimTemplates is a list of claims that pets are allowed to reference. The PetSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pet. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name." + "description": "VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name." }, "serviceName": { "type": "string", - "description": "ServiceName is the name of the service that governs this PetSet. This service must exist before the PetSet, and is responsible for the network identity of the set. Pets get DNS/hostnames that follow the pattern: pet-specific-string.serviceName.default.svc.cluster.local where \"pet-specific-string\" is managed by the PetSet controller." + "description": "ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller." } } }, @@ -2641,9 +2641,9 @@ } } }, - "v1alpha1.PetSetStatus": { - "id": "v1alpha1.PetSetStatus", - "description": "PetSetStatus represents the current state of a PetSet.", + "v1alpha1.StatefulSetStatus": { + "id": "v1alpha1.StatefulSetStatus", + "description": "StatefulSetStatus represents the current state of a StatefulSet.", "required": [ "replicas" ], diff --git a/docs/api-reference/apps/v1alpha1/definitions.html b/docs/api-reference/apps/v1alpha1/definitions.html index aae29de1fba..6b791be9c48 100755 --- a/docs/api-reference/apps/v1alpha1/definitions.html +++ b/docs/api-reference/apps/v1alpha1/definitions.html @@ -370,10 +370,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
@@ -817,6 +817,68 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } + +A StatefulSetSpec is the specification of a StatefulSet.
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
replicas |
+Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. |
+false |
+integer (int32) |
++ |
selector |
+Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors |
+false |
++ | + |
template |
+Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. |
+true |
++ | + |
volumeClaimTemplates |
+VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. |
+false |
+v1.PersistentVolumeClaim array |
++ |
serviceName |
+ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. |
+true |
+string |
++ |
StatefulSetStatus represents the current state of a StatefulSet.
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
observedGeneration |
+most recent generation observed by this autoscaler. |
+false |
+integer (int64) |
++ |
replicas |
+Replicas is the number of actual replicas. |
+true |
+integer (int32) |
++ |
A PetSetSpec is the specification of a PetSet.
-Name | -Description | -Required | -Schema | -Default | -
---|---|---|---|---|
replicas |
-Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. |
-false |
-integer (int32) |
-- |
selector |
-Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors |
-false |
-- | - |
template |
-Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the PetSet will fulfill this Template, but have a unique identity from the rest of the PetSet. |
-true |
-- | - |
volumeClaimTemplates |
-VolumeClaimTemplates is a list of claims that pets are allowed to reference. The PetSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pet. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. |
-false |
-v1.PersistentVolumeClaim array |
-- |
serviceName |
-ServiceName is the name of the service that governs this PetSet. This service must exist before the PetSet, and is responsible for the network identity of the set. Pets get DNS/hostnames that follow the pattern: pet-specific-string.serviceName.default.svc.cluster.local where "pet-specific-string" is managed by the PetSet controller. |
-true |
-string |
-- |
PetSet represents a set of pods with consistent identities. Identities are defined as:
- - Network: A single stable DNS and hostname.
- - Storage: As many VolumeClaims as requested.
-The PetSet guarantees that a given network identity will always map to the same storage identity. PetSet is currently in alpha and subject to change without notice.
A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
matchLabels |
+matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. |
+false |
+object |
++ |
matchExpressions |
+matchExpressions is a list of label selector requirements. The requirements are ANDed. |
+false |
++ | + |
StatefulSetList is a collection of StatefulSets.
metadata |
false |
-+ | |||
spec |
-Spec defines the desired identities of pets in this set. |
-false |
-+ | items |
- |
status |
-Status is the current status of Pets in this PetSet. This data may be out of date by some window of time. |
-false |
-- | - |
A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
-Name | -Description | -Required | -Schema | -Default | -||
---|---|---|---|---|---|---|
matchLabels |
-matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. |
-false |
-object |
-- | ||
matchExpressions |
-matchExpressions is a list of label selector requirements. The requirements are ANDed. |
-false |
-+ | true |
+v1alpha1.StatefulSet array |
PetSetStatus represents the current state of a PetSet.
-Name | -Description | -Required | -Schema | -Default | -
---|---|---|---|---|
observedGeneration |
-most recent generation observed by this autoscaler. |
-false |
-integer (int64) |
-- |
replicas |
-Replicas is the number of actual replicas. |
-true |
-integer (int32) |
-- |
PetSetList is a collection of PetSets.
+StatefulSet represents a set of pods with consistent identities. Identities are defined as:
+ - Network: A single stable DNS and hostname.
+ - Storage: As many VolumeClaims as requested.
+The StatefulSet guarantees that a given network identity will always map to the same storage identity. StatefulSet is currently in alpha and subject to change without notice.
metadata |
false |
-+ | |||||
items |
+spec |
+Spec defines the desired identities of pods in this set. |
+false |
+- | true |
-v1alpha1.PetSet array |
+|
status |
+Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time. |
+false |
+