kubernetes-io 1.0.0.pre.alpha2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +89 -0
- data/README.md +1515 -0
- data/Rakefile +8 -0
- data/docs/AdmissionregistrationApi.md +56 -0
- data/docs/AdmissionregistrationV1alpha1Api.md +516 -0
- data/docs/AdmissionregistrationV1beta1Api.md +976 -0
- data/docs/AdmissionregistrationV1beta1ServiceReference.md +10 -0
- data/docs/AdmissionregistrationV1beta1WebhookClientConfig.md +10 -0
- data/docs/ApiextensionsApi.md +56 -0
- data/docs/ApiextensionsV1beta1Api.md +700 -0
- data/docs/ApiextensionsV1beta1ServiceReference.md +10 -0
- data/docs/ApiextensionsV1beta1WebhookClientConfig.md +10 -0
- data/docs/ApiregistrationApi.md +56 -0
- data/docs/ApiregistrationV1Api.md +700 -0
- data/docs/ApiregistrationV1beta1Api.md +700 -0
- data/docs/ApiregistrationV1beta1ServiceReference.md +9 -0
- data/docs/ApisApi.md +56 -0
- data/docs/AppsApi.md +56 -0
- data/docs/AppsV1Api.md +4167 -0
- data/docs/AppsV1beta1Api.md +2552 -0
- data/docs/AppsV1beta1Deployment.md +12 -0
- data/docs/AppsV1beta1DeploymentCondition.md +13 -0
- data/docs/AppsV1beta1DeploymentList.md +11 -0
- data/docs/AppsV1beta1DeploymentRollback.md +12 -0
- data/docs/AppsV1beta1DeploymentSpec.md +16 -0
- data/docs/AppsV1beta1DeploymentStatus.md +15 -0
- data/docs/AppsV1beta1DeploymentStrategy.md +9 -0
- data/docs/AppsV1beta1RollbackConfig.md +8 -0
- data/docs/AppsV1beta1RollingUpdateDeployment.md +9 -0
- data/docs/AppsV1beta1Scale.md +12 -0
- data/docs/AppsV1beta1ScaleSpec.md +8 -0
- data/docs/AppsV1beta1ScaleStatus.md +10 -0
- data/docs/AppsV1beta2Api.md +4167 -0
- data/docs/AuditregistrationApi.md +56 -0
- data/docs/AuditregistrationV1alpha1Api.md +516 -0
- data/docs/AuthenticationApi.md +56 -0
- data/docs/AuthenticationV1Api.md +118 -0
- data/docs/AuthenticationV1beta1Api.md +118 -0
- data/docs/AuthorizationApi.md +56 -0
- data/docs/AuthorizationV1Api.md +307 -0
- data/docs/AuthorizationV1beta1Api.md +307 -0
- data/docs/AutoscalingApi.md +56 -0
- data/docs/AutoscalingV1Api.md +801 -0
- data/docs/AutoscalingV2beta1Api.md +801 -0
- data/docs/AutoscalingV2beta2Api.md +801 -0
- data/docs/BatchApi.md +56 -0
- data/docs/BatchV1Api.md +801 -0
- data/docs/BatchV1beta1Api.md +801 -0
- data/docs/BatchV2alpha1Api.md +801 -0
- data/docs/CertificatesApi.md +56 -0
- data/docs/CertificatesV1beta1Api.md +763 -0
- data/docs/CoordinationApi.md +56 -0
- data/docs/CoordinationV1beta1Api.md +608 -0
- data/docs/CoreApi.md +56 -0
- data/docs/CoreV1Api.md +13078 -0
- data/docs/CustomObjectsApi.md +1640 -0
- data/docs/EventsApi.md +56 -0
- data/docs/EventsV1beta1Api.md +608 -0
- data/docs/ExtensionsApi.md +56 -0
- data/docs/ExtensionsV1beta1AllowedFlexVolume.md +8 -0
- data/docs/ExtensionsV1beta1AllowedHostPath.md +9 -0
- data/docs/ExtensionsV1beta1Api.md +4695 -0
- data/docs/ExtensionsV1beta1Deployment.md +12 -0
- data/docs/ExtensionsV1beta1DeploymentCondition.md +13 -0
- data/docs/ExtensionsV1beta1DeploymentList.md +11 -0
- data/docs/ExtensionsV1beta1DeploymentRollback.md +12 -0
- data/docs/ExtensionsV1beta1DeploymentSpec.md +16 -0
- data/docs/ExtensionsV1beta1DeploymentStatus.md +15 -0
- data/docs/ExtensionsV1beta1DeploymentStrategy.md +9 -0
- data/docs/ExtensionsV1beta1FSGroupStrategyOptions.md +9 -0
- data/docs/ExtensionsV1beta1HostPortRange.md +9 -0
- data/docs/ExtensionsV1beta1IDRange.md +9 -0
- data/docs/ExtensionsV1beta1PodSecurityPolicy.md +11 -0
- data/docs/ExtensionsV1beta1PodSecurityPolicyList.md +11 -0
- data/docs/ExtensionsV1beta1PodSecurityPolicySpec.md +29 -0
- data/docs/ExtensionsV1beta1RollbackConfig.md +8 -0
- data/docs/ExtensionsV1beta1RollingUpdateDeployment.md +9 -0
- data/docs/ExtensionsV1beta1RunAsGroupStrategyOptions.md +9 -0
- data/docs/ExtensionsV1beta1RunAsUserStrategyOptions.md +9 -0
- data/docs/ExtensionsV1beta1SELinuxStrategyOptions.md +9 -0
- data/docs/ExtensionsV1beta1Scale.md +12 -0
- data/docs/ExtensionsV1beta1ScaleSpec.md +8 -0
- data/docs/ExtensionsV1beta1ScaleStatus.md +10 -0
- data/docs/ExtensionsV1beta1SupplementalGroupsStrategyOptions.md +9 -0
- data/docs/LogsApi.md +104 -0
- data/docs/NetworkingApi.md +56 -0
- data/docs/NetworkingV1Api.md +608 -0
- data/docs/PolicyApi.md +56 -0
- data/docs/PolicyV1beta1AllowedFlexVolume.md +8 -0
- data/docs/PolicyV1beta1AllowedHostPath.md +9 -0
- data/docs/PolicyV1beta1Api.md +1261 -0
- data/docs/PolicyV1beta1FSGroupStrategyOptions.md +9 -0
- data/docs/PolicyV1beta1HostPortRange.md +9 -0
- data/docs/PolicyV1beta1IDRange.md +9 -0
- data/docs/PolicyV1beta1PodSecurityPolicy.md +11 -0
- data/docs/PolicyV1beta1PodSecurityPolicyList.md +11 -0
- data/docs/PolicyV1beta1PodSecurityPolicySpec.md +29 -0
- data/docs/PolicyV1beta1RunAsGroupStrategyOptions.md +9 -0
- data/docs/PolicyV1beta1RunAsUserStrategyOptions.md +9 -0
- data/docs/PolicyV1beta1SELinuxStrategyOptions.md +9 -0
- data/docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md +9 -0
- data/docs/RbacAuthorizationApi.md +56 -0
- data/docs/RbacAuthorizationV1Api.md +2064 -0
- data/docs/RbacAuthorizationV1alpha1Api.md +2064 -0
- data/docs/RbacAuthorizationV1beta1Api.md +2064 -0
- data/docs/RuntimeRawExtension.md +8 -0
- data/docs/SchedulingApi.md +56 -0
- data/docs/SchedulingV1alpha1Api.md +516 -0
- data/docs/SchedulingV1beta1Api.md +516 -0
- data/docs/SettingsApi.md +56 -0
- data/docs/SettingsV1alpha1Api.md +608 -0
- data/docs/StorageApi.md +56 -0
- data/docs/StorageV1Api.md +1160 -0
- data/docs/StorageV1alpha1Api.md +516 -0
- data/docs/StorageV1beta1Api.md +976 -0
- data/docs/V1APIGroup.md +13 -0
- data/docs/V1APIGroupList.md +10 -0
- data/docs/V1APIResource.md +16 -0
- data/docs/V1APIResourceList.md +11 -0
- data/docs/V1APIService.md +12 -0
- data/docs/V1APIServiceCondition.md +12 -0
- data/docs/V1APIServiceList.md +11 -0
- data/docs/V1APIServiceSpec.md +14 -0
- data/docs/V1APIServiceStatus.md +8 -0
- data/docs/V1APIVersions.md +11 -0
- data/docs/V1AWSElasticBlockStoreVolumeSource.md +11 -0
- data/docs/V1Affinity.md +10 -0
- data/docs/V1AggregationRule.md +8 -0
- data/docs/V1AttachedVolume.md +9 -0
- data/docs/V1AzureDiskVolumeSource.md +13 -0
- data/docs/V1AzureFilePersistentVolumeSource.md +11 -0
- data/docs/V1AzureFileVolumeSource.md +10 -0
- data/docs/V1Binding.md +11 -0
- data/docs/V1CSIPersistentVolumeSource.md +15 -0
- data/docs/V1Capabilities.md +9 -0
- data/docs/V1CephFSPersistentVolumeSource.md +13 -0
- data/docs/V1CephFSVolumeSource.md +13 -0
- data/docs/V1CinderPersistentVolumeSource.md +11 -0
- data/docs/V1CinderVolumeSource.md +11 -0
- data/docs/V1ClientIPConfig.md +8 -0
- data/docs/V1ClusterRole.md +12 -0
- data/docs/V1ClusterRoleBinding.md +12 -0
- data/docs/V1ClusterRoleBindingList.md +11 -0
- data/docs/V1ClusterRoleList.md +11 -0
- data/docs/V1ComponentCondition.md +11 -0
- data/docs/V1ComponentStatus.md +11 -0
- data/docs/V1ComponentStatusList.md +11 -0
- data/docs/V1ConfigMap.md +12 -0
- data/docs/V1ConfigMapEnvSource.md +9 -0
- data/docs/V1ConfigMapKeySelector.md +10 -0
- data/docs/V1ConfigMapList.md +11 -0
- data/docs/V1ConfigMapNodeConfigSource.md +12 -0
- data/docs/V1ConfigMapProjection.md +10 -0
- data/docs/V1ConfigMapVolumeSource.md +11 -0
- data/docs/V1Container.md +28 -0
- data/docs/V1ContainerImage.md +9 -0
- data/docs/V1ContainerPort.md +12 -0
- data/docs/V1ContainerState.md +10 -0
- data/docs/V1ContainerStateRunning.md +8 -0
- data/docs/V1ContainerStateTerminated.md +14 -0
- data/docs/V1ContainerStateWaiting.md +9 -0
- data/docs/V1ContainerStatus.md +15 -0
- data/docs/V1ControllerRevision.md +12 -0
- data/docs/V1ControllerRevisionList.md +11 -0
- data/docs/V1CrossVersionObjectReference.md +10 -0
- data/docs/V1DaemonEndpoint.md +8 -0
- data/docs/V1DaemonSet.md +12 -0
- data/docs/V1DaemonSetCondition.md +12 -0
- data/docs/V1DaemonSetList.md +11 -0
- data/docs/V1DaemonSetSpec.md +12 -0
- data/docs/V1DaemonSetStatus.md +17 -0
- data/docs/V1DaemonSetUpdateStrategy.md +9 -0
- data/docs/V1DeleteOptions.md +14 -0
- data/docs/V1Deployment.md +12 -0
- data/docs/V1DeploymentCondition.md +13 -0
- data/docs/V1DeploymentList.md +11 -0
- data/docs/V1DeploymentSpec.md +15 -0
- data/docs/V1DeploymentStatus.md +15 -0
- data/docs/V1DeploymentStrategy.md +9 -0
- data/docs/V1DownwardAPIProjection.md +8 -0
- data/docs/V1DownwardAPIVolumeFile.md +11 -0
- data/docs/V1DownwardAPIVolumeSource.md +9 -0
- data/docs/V1EmptyDirVolumeSource.md +9 -0
- data/docs/V1EndpointAddress.md +11 -0
- data/docs/V1EndpointPort.md +10 -0
- data/docs/V1EndpointSubset.md +10 -0
- data/docs/V1Endpoints.md +11 -0
- data/docs/V1EndpointsList.md +11 -0
- data/docs/V1EnvFromSource.md +10 -0
- data/docs/V1EnvVar.md +10 -0
- data/docs/V1EnvVarSource.md +11 -0
- data/docs/V1Event.md +24 -0
- data/docs/V1EventList.md +11 -0
- data/docs/V1EventSeries.md +10 -0
- data/docs/V1EventSource.md +9 -0
- data/docs/V1ExecAction.md +8 -0
- data/docs/V1FCVolumeSource.md +12 -0
- data/docs/V1FlexPersistentVolumeSource.md +12 -0
- data/docs/V1FlexVolumeSource.md +12 -0
- data/docs/V1FlockerVolumeSource.md +9 -0
- data/docs/V1GCEPersistentDiskVolumeSource.md +11 -0
- data/docs/V1GitRepoVolumeSource.md +10 -0
- data/docs/V1GlusterfsPersistentVolumeSource.md +11 -0
- data/docs/V1GlusterfsVolumeSource.md +10 -0
- data/docs/V1GroupVersionForDiscovery.md +9 -0
- data/docs/V1HTTPGetAction.md +12 -0
- data/docs/V1HTTPHeader.md +9 -0
- data/docs/V1Handler.md +10 -0
- data/docs/V1HorizontalPodAutoscaler.md +12 -0
- data/docs/V1HorizontalPodAutoscalerList.md +11 -0
- data/docs/V1HorizontalPodAutoscalerSpec.md +11 -0
- data/docs/V1HorizontalPodAutoscalerStatus.md +12 -0
- data/docs/V1HostAlias.md +9 -0
- data/docs/V1HostPathVolumeSource.md +9 -0
- data/docs/V1IPBlock.md +9 -0
- data/docs/V1ISCSIPersistentVolumeSource.md +18 -0
- data/docs/V1ISCSIVolumeSource.md +18 -0
- data/docs/V1Initializer.md +8 -0
- data/docs/V1Initializers.md +9 -0
- data/docs/V1Job.md +12 -0
- data/docs/V1JobCondition.md +13 -0
- data/docs/V1JobList.md +11 -0
- data/docs/V1JobSpec.md +15 -0
- data/docs/V1JobStatus.md +13 -0
- data/docs/V1KeyToPath.md +10 -0
- data/docs/V1LabelSelector.md +9 -0
- data/docs/V1LabelSelectorRequirement.md +10 -0
- data/docs/V1Lifecycle.md +9 -0
- data/docs/V1LimitRange.md +11 -0
- data/docs/V1LimitRangeItem.md +13 -0
- data/docs/V1LimitRangeList.md +11 -0
- data/docs/V1LimitRangeSpec.md +8 -0
- data/docs/V1ListMeta.md +10 -0
- data/docs/V1LoadBalancerIngress.md +9 -0
- data/docs/V1LoadBalancerStatus.md +8 -0
- data/docs/V1LocalObjectReference.md +8 -0
- data/docs/V1LocalSubjectAccessReview.md +12 -0
- data/docs/V1LocalVolumeSource.md +9 -0
- data/docs/V1NFSVolumeSource.md +10 -0
- data/docs/V1Namespace.md +12 -0
- data/docs/V1NamespaceList.md +11 -0
- data/docs/V1NamespaceSpec.md +8 -0
- data/docs/V1NamespaceStatus.md +8 -0
- data/docs/V1NetworkPolicy.md +11 -0
- data/docs/V1NetworkPolicyEgressRule.md +9 -0
- data/docs/V1NetworkPolicyIngressRule.md +9 -0
- data/docs/V1NetworkPolicyList.md +11 -0
- data/docs/V1NetworkPolicyPeer.md +10 -0
- data/docs/V1NetworkPolicyPort.md +9 -0
- data/docs/V1NetworkPolicySpec.md +11 -0
- data/docs/V1Node.md +12 -0
- data/docs/V1NodeAddress.md +9 -0
- data/docs/V1NodeAffinity.md +9 -0
- data/docs/V1NodeCondition.md +13 -0
- data/docs/V1NodeConfigSource.md +8 -0
- data/docs/V1NodeConfigStatus.md +11 -0
- data/docs/V1NodeDaemonEndpoints.md +8 -0
- data/docs/V1NodeList.md +11 -0
- data/docs/V1NodeSelector.md +8 -0
- data/docs/V1NodeSelectorRequirement.md +10 -0
- data/docs/V1NodeSelectorTerm.md +9 -0
- data/docs/V1NodeSpec.md +13 -0
- data/docs/V1NodeStatus.md +18 -0
- data/docs/V1NodeSystemInfo.md +17 -0
- data/docs/V1NonResourceAttributes.md +9 -0
- data/docs/V1NonResourceRule.md +9 -0
- data/docs/V1ObjectFieldSelector.md +9 -0
- data/docs/V1ObjectMeta.md +23 -0
- data/docs/V1ObjectReference.md +14 -0
- data/docs/V1OwnerReference.md +13 -0
- data/docs/V1PersistentVolume.md +12 -0
- data/docs/V1PersistentVolumeClaim.md +12 -0
- data/docs/V1PersistentVolumeClaimCondition.md +13 -0
- data/docs/V1PersistentVolumeClaimList.md +11 -0
- data/docs/V1PersistentVolumeClaimSpec.md +14 -0
- data/docs/V1PersistentVolumeClaimStatus.md +11 -0
- data/docs/V1PersistentVolumeClaimVolumeSource.md +9 -0
- data/docs/V1PersistentVolumeList.md +11 -0
- data/docs/V1PersistentVolumeSpec.md +37 -0
- data/docs/V1PersistentVolumeStatus.md +10 -0
- data/docs/V1PhotonPersistentDiskVolumeSource.md +9 -0
- data/docs/V1Pod.md +12 -0
- data/docs/V1PodAffinity.md +9 -0
- data/docs/V1PodAffinityTerm.md +10 -0
- data/docs/V1PodAntiAffinity.md +9 -0
- data/docs/V1PodCondition.md +13 -0
- data/docs/V1PodDNSConfig.md +10 -0
- data/docs/V1PodDNSConfigOption.md +9 -0
- data/docs/V1PodList.md +11 -0
- data/docs/V1PodReadinessGate.md +8 -0
- data/docs/V1PodSecurityContext.md +14 -0
- data/docs/V1PodSpec.md +37 -0
- data/docs/V1PodStatus.md +18 -0
- data/docs/V1PodTemplate.md +11 -0
- data/docs/V1PodTemplateList.md +11 -0
- data/docs/V1PodTemplateSpec.md +9 -0
- data/docs/V1PolicyRule.md +12 -0
- data/docs/V1PortworxVolumeSource.md +10 -0
- data/docs/V1Preconditions.md +8 -0
- data/docs/V1PreferredSchedulingTerm.md +9 -0
- data/docs/V1Probe.md +15 -0
- data/docs/V1ProjectedVolumeSource.md +9 -0
- data/docs/V1QuobyteVolumeSource.md +12 -0
- data/docs/V1RBDPersistentVolumeSource.md +15 -0
- data/docs/V1RBDVolumeSource.md +15 -0
- data/docs/V1ReplicaSet.md +12 -0
- data/docs/V1ReplicaSetCondition.md +12 -0
- data/docs/V1ReplicaSetList.md +11 -0
- data/docs/V1ReplicaSetSpec.md +11 -0
- data/docs/V1ReplicaSetStatus.md +13 -0
- data/docs/V1ReplicationController.md +12 -0
- data/docs/V1ReplicationControllerCondition.md +12 -0
- data/docs/V1ReplicationControllerList.md +11 -0
- data/docs/V1ReplicationControllerSpec.md +11 -0
- data/docs/V1ReplicationControllerStatus.md +13 -0
- data/docs/V1ResourceAttributes.md +14 -0
- data/docs/V1ResourceFieldSelector.md +10 -0
- data/docs/V1ResourceQuota.md +12 -0
- data/docs/V1ResourceQuotaList.md +11 -0
- data/docs/V1ResourceQuotaSpec.md +10 -0
- data/docs/V1ResourceQuotaStatus.md +9 -0
- data/docs/V1ResourceRequirements.md +9 -0
- data/docs/V1ResourceRule.md +11 -0
- data/docs/V1Role.md +11 -0
- data/docs/V1RoleBinding.md +12 -0
- data/docs/V1RoleBindingList.md +11 -0
- data/docs/V1RoleList.md +11 -0
- data/docs/V1RoleRef.md +10 -0
- data/docs/V1RollingUpdateDaemonSet.md +8 -0
- data/docs/V1RollingUpdateDeployment.md +9 -0
- data/docs/V1RollingUpdateStatefulSetStrategy.md +8 -0
- data/docs/V1SELinuxOptions.md +11 -0
- data/docs/V1Scale.md +12 -0
- data/docs/V1ScaleIOPersistentVolumeSource.md +17 -0
- data/docs/V1ScaleIOVolumeSource.md +17 -0
- data/docs/V1ScaleSpec.md +8 -0
- data/docs/V1ScaleStatus.md +9 -0
- data/docs/V1ScopeSelector.md +8 -0
- data/docs/V1ScopedResourceSelectorRequirement.md +10 -0
- data/docs/V1Secret.md +13 -0
- data/docs/V1SecretEnvSource.md +9 -0
- data/docs/V1SecretKeySelector.md +10 -0
- data/docs/V1SecretList.md +11 -0
- data/docs/V1SecretProjection.md +10 -0
- data/docs/V1SecretReference.md +9 -0
- data/docs/V1SecretVolumeSource.md +11 -0
- data/docs/V1SecurityContext.md +16 -0
- data/docs/V1SelfSubjectAccessReview.md +12 -0
- data/docs/V1SelfSubjectAccessReviewSpec.md +9 -0
- data/docs/V1SelfSubjectRulesReview.md +12 -0
- data/docs/V1SelfSubjectRulesReviewSpec.md +8 -0
- data/docs/V1ServerAddressByClientCIDR.md +9 -0
- data/docs/V1Service.md +12 -0
- data/docs/V1ServiceAccount.md +13 -0
- data/docs/V1ServiceAccountList.md +11 -0
- data/docs/V1ServiceAccountTokenProjection.md +10 -0
- data/docs/V1ServiceList.md +11 -0
- data/docs/V1ServicePort.md +12 -0
- data/docs/V1ServiceReference.md +9 -0
- data/docs/V1ServiceSpec.md +20 -0
- data/docs/V1ServiceStatus.md +8 -0
- data/docs/V1SessionAffinityConfig.md +8 -0
- data/docs/V1StatefulSet.md +12 -0
- data/docs/V1StatefulSetCondition.md +12 -0
- data/docs/V1StatefulSetList.md +11 -0
- data/docs/V1StatefulSetSpec.md +15 -0
- data/docs/V1StatefulSetStatus.md +16 -0
- data/docs/V1StatefulSetUpdateStrategy.md +9 -0
- data/docs/V1Status.md +15 -0
- data/docs/V1StatusCause.md +10 -0
- data/docs/V1StatusDetails.md +13 -0
- data/docs/V1StorageClass.md +17 -0
- data/docs/V1StorageClassList.md +11 -0
- data/docs/V1StorageOSPersistentVolumeSource.md +12 -0
- data/docs/V1StorageOSVolumeSource.md +12 -0
- data/docs/V1Subject.md +11 -0
- data/docs/V1SubjectAccessReview.md +12 -0
- data/docs/V1SubjectAccessReviewSpec.md +13 -0
- data/docs/V1SubjectAccessReviewStatus.md +11 -0
- data/docs/V1SubjectRulesReviewStatus.md +11 -0
- data/docs/V1Sysctl.md +9 -0
- data/docs/V1TCPSocketAction.md +9 -0
- data/docs/V1Taint.md +11 -0
- data/docs/V1TokenReview.md +12 -0
- data/docs/V1TokenReviewSpec.md +9 -0
- data/docs/V1TokenReviewStatus.md +11 -0
- data/docs/V1Toleration.md +12 -0
- data/docs/V1TopologySelectorLabelRequirement.md +9 -0
- data/docs/V1TopologySelectorTerm.md +8 -0
- data/docs/V1TypedLocalObjectReference.md +10 -0
- data/docs/V1UserInfo.md +11 -0
- data/docs/V1Volume.md +35 -0
- data/docs/V1VolumeAttachment.md +12 -0
- data/docs/V1VolumeAttachmentList.md +11 -0
- data/docs/V1VolumeAttachmentSource.md +8 -0
- data/docs/V1VolumeAttachmentSpec.md +10 -0
- data/docs/V1VolumeAttachmentStatus.md +11 -0
- data/docs/V1VolumeDevice.md +9 -0
- data/docs/V1VolumeError.md +9 -0
- data/docs/V1VolumeMount.md +12 -0
- data/docs/V1VolumeNodeAffinity.md +8 -0
- data/docs/V1VolumeProjection.md +11 -0
- data/docs/V1VsphereVirtualDiskVolumeSource.md +11 -0
- data/docs/V1WatchEvent.md +9 -0
- data/docs/V1WeightedPodAffinityTerm.md +9 -0
- data/docs/V1alpha1AggregationRule.md +8 -0
- data/docs/V1alpha1AuditSink.md +11 -0
- data/docs/V1alpha1AuditSinkList.md +11 -0
- data/docs/V1alpha1AuditSinkSpec.md +9 -0
- data/docs/V1alpha1ClusterRole.md +12 -0
- data/docs/V1alpha1ClusterRoleBinding.md +12 -0
- data/docs/V1alpha1ClusterRoleBindingList.md +11 -0
- data/docs/V1alpha1ClusterRoleList.md +11 -0
- data/docs/V1alpha1Initializer.md +9 -0
- data/docs/V1alpha1InitializerConfiguration.md +11 -0
- data/docs/V1alpha1InitializerConfigurationList.md +11 -0
- data/docs/V1alpha1PodPreset.md +11 -0
- data/docs/V1alpha1PodPresetList.md +11 -0
- data/docs/V1alpha1PodPresetSpec.md +12 -0
- data/docs/V1alpha1Policy.md +9 -0
- data/docs/V1alpha1PolicyRule.md +12 -0
- data/docs/V1alpha1PriorityClass.md +13 -0
- data/docs/V1alpha1PriorityClassList.md +11 -0
- data/docs/V1alpha1Role.md +11 -0
- data/docs/V1alpha1RoleBinding.md +12 -0
- data/docs/V1alpha1RoleBindingList.md +11 -0
- data/docs/V1alpha1RoleList.md +11 -0
- data/docs/V1alpha1RoleRef.md +10 -0
- data/docs/V1alpha1Rule.md +10 -0
- data/docs/V1alpha1ServiceReference.md +10 -0
- data/docs/V1alpha1Subject.md +11 -0
- data/docs/V1alpha1VolumeAttachment.md +12 -0
- data/docs/V1alpha1VolumeAttachmentList.md +11 -0
- data/docs/V1alpha1VolumeAttachmentSource.md +8 -0
- data/docs/V1alpha1VolumeAttachmentSpec.md +10 -0
- data/docs/V1alpha1VolumeAttachmentStatus.md +11 -0
- data/docs/V1alpha1VolumeError.md +9 -0
- data/docs/V1alpha1Webhook.md +9 -0
- data/docs/V1alpha1WebhookClientConfig.md +10 -0
- data/docs/V1alpha1WebhookThrottleConfig.md +9 -0
- data/docs/V1beta1APIService.md +12 -0
- data/docs/V1beta1APIServiceCondition.md +12 -0
- data/docs/V1beta1APIServiceList.md +11 -0
- data/docs/V1beta1APIServiceSpec.md +14 -0
- data/docs/V1beta1APIServiceStatus.md +8 -0
- data/docs/V1beta1AggregationRule.md +8 -0
- data/docs/V1beta1CertificateSigningRequest.md +12 -0
- data/docs/V1beta1CertificateSigningRequestCondition.md +11 -0
- data/docs/V1beta1CertificateSigningRequestList.md +11 -0
- data/docs/V1beta1CertificateSigningRequestSpec.md +13 -0
- data/docs/V1beta1CertificateSigningRequestStatus.md +9 -0
- data/docs/V1beta1ClusterRole.md +12 -0
- data/docs/V1beta1ClusterRoleBinding.md +12 -0
- data/docs/V1beta1ClusterRoleBindingList.md +11 -0
- data/docs/V1beta1ClusterRoleList.md +11 -0
- data/docs/V1beta1ControllerRevision.md +12 -0
- data/docs/V1beta1ControllerRevisionList.md +11 -0
- data/docs/V1beta1CronJob.md +12 -0
- data/docs/V1beta1CronJobList.md +11 -0
- data/docs/V1beta1CronJobSpec.md +14 -0
- data/docs/V1beta1CronJobStatus.md +9 -0
- data/docs/V1beta1CustomResourceColumnDefinition.md +13 -0
- data/docs/V1beta1CustomResourceConversion.md +9 -0
- data/docs/V1beta1CustomResourceDefinition.md +12 -0
- data/docs/V1beta1CustomResourceDefinitionCondition.md +12 -0
- data/docs/V1beta1CustomResourceDefinitionList.md +11 -0
- data/docs/V1beta1CustomResourceDefinitionNames.md +13 -0
- data/docs/V1beta1CustomResourceDefinitionSpec.md +16 -0
- data/docs/V1beta1CustomResourceDefinitionStatus.md +10 -0
- data/docs/V1beta1CustomResourceDefinitionVersion.md +13 -0
- data/docs/V1beta1CustomResourceSubresourceScale.md +10 -0
- data/docs/V1beta1CustomResourceSubresources.md +9 -0
- data/docs/V1beta1CustomResourceValidation.md +8 -0
- data/docs/V1beta1DaemonSet.md +12 -0
- data/docs/V1beta1DaemonSetCondition.md +12 -0
- data/docs/V1beta1DaemonSetList.md +11 -0
- data/docs/V1beta1DaemonSetSpec.md +13 -0
- data/docs/V1beta1DaemonSetStatus.md +17 -0
- data/docs/V1beta1DaemonSetUpdateStrategy.md +9 -0
- data/docs/V1beta1Event.md +24 -0
- data/docs/V1beta1EventList.md +11 -0
- data/docs/V1beta1EventSeries.md +10 -0
- data/docs/V1beta1Eviction.md +11 -0
- data/docs/V1beta1ExternalDocumentation.md +9 -0
- data/docs/V1beta1HTTPIngressPath.md +9 -0
- data/docs/V1beta1HTTPIngressRuleValue.md +8 -0
- data/docs/V1beta1IPBlock.md +9 -0
- data/docs/V1beta1Ingress.md +12 -0
- data/docs/V1beta1IngressBackend.md +9 -0
- data/docs/V1beta1IngressList.md +11 -0
- data/docs/V1beta1IngressRule.md +9 -0
- data/docs/V1beta1IngressSpec.md +10 -0
- data/docs/V1beta1IngressStatus.md +8 -0
- data/docs/V1beta1IngressTLS.md +9 -0
- data/docs/V1beta1JSONSchemaProps.md +43 -0
- data/docs/V1beta1JobTemplateSpec.md +9 -0
- data/docs/V1beta1Lease.md +11 -0
- data/docs/V1beta1LeaseList.md +11 -0
- data/docs/V1beta1LeaseSpec.md +12 -0
- data/docs/V1beta1LocalSubjectAccessReview.md +12 -0
- data/docs/V1beta1MutatingWebhookConfiguration.md +11 -0
- data/docs/V1beta1MutatingWebhookConfigurationList.md +11 -0
- data/docs/V1beta1NetworkPolicy.md +11 -0
- data/docs/V1beta1NetworkPolicyEgressRule.md +9 -0
- data/docs/V1beta1NetworkPolicyIngressRule.md +9 -0
- data/docs/V1beta1NetworkPolicyList.md +11 -0
- data/docs/V1beta1NetworkPolicyPeer.md +10 -0
- data/docs/V1beta1NetworkPolicyPort.md +9 -0
- data/docs/V1beta1NetworkPolicySpec.md +11 -0
- data/docs/V1beta1NonResourceAttributes.md +9 -0
- data/docs/V1beta1NonResourceRule.md +9 -0
- data/docs/V1beta1PodDisruptionBudget.md +12 -0
- data/docs/V1beta1PodDisruptionBudgetList.md +11 -0
- data/docs/V1beta1PodDisruptionBudgetSpec.md +10 -0
- data/docs/V1beta1PodDisruptionBudgetStatus.md +13 -0
- data/docs/V1beta1PolicyRule.md +12 -0
- data/docs/V1beta1PriorityClass.md +13 -0
- data/docs/V1beta1PriorityClassList.md +11 -0
- data/docs/V1beta1ReplicaSet.md +12 -0
- data/docs/V1beta1ReplicaSetCondition.md +12 -0
- data/docs/V1beta1ReplicaSetList.md +11 -0
- data/docs/V1beta1ReplicaSetSpec.md +11 -0
- data/docs/V1beta1ReplicaSetStatus.md +13 -0
- data/docs/V1beta1ResourceAttributes.md +14 -0
- data/docs/V1beta1ResourceRule.md +11 -0
- data/docs/V1beta1Role.md +11 -0
- data/docs/V1beta1RoleBinding.md +12 -0
- data/docs/V1beta1RoleBindingList.md +11 -0
- data/docs/V1beta1RoleList.md +11 -0
- data/docs/V1beta1RoleRef.md +10 -0
- data/docs/V1beta1RollingUpdateDaemonSet.md +8 -0
- data/docs/V1beta1RollingUpdateStatefulSetStrategy.md +8 -0
- data/docs/V1beta1RuleWithOperations.md +11 -0
- data/docs/V1beta1SelfSubjectAccessReview.md +12 -0
- data/docs/V1beta1SelfSubjectAccessReviewSpec.md +9 -0
- data/docs/V1beta1SelfSubjectRulesReview.md +12 -0
- data/docs/V1beta1SelfSubjectRulesReviewSpec.md +8 -0
- data/docs/V1beta1StatefulSet.md +12 -0
- data/docs/V1beta1StatefulSetCondition.md +12 -0
- data/docs/V1beta1StatefulSetList.md +11 -0
- data/docs/V1beta1StatefulSetSpec.md +15 -0
- data/docs/V1beta1StatefulSetStatus.md +16 -0
- data/docs/V1beta1StatefulSetUpdateStrategy.md +9 -0
- data/docs/V1beta1StorageClass.md +17 -0
- data/docs/V1beta1StorageClassList.md +11 -0
- data/docs/V1beta1Subject.md +11 -0
- data/docs/V1beta1SubjectAccessReview.md +12 -0
- data/docs/V1beta1SubjectAccessReviewSpec.md +13 -0
- data/docs/V1beta1SubjectAccessReviewStatus.md +11 -0
- data/docs/V1beta1SubjectRulesReviewStatus.md +11 -0
- data/docs/V1beta1TokenReview.md +12 -0
- data/docs/V1beta1TokenReviewSpec.md +9 -0
- data/docs/V1beta1TokenReviewStatus.md +11 -0
- data/docs/V1beta1UserInfo.md +11 -0
- data/docs/V1beta1ValidatingWebhookConfiguration.md +11 -0
- data/docs/V1beta1ValidatingWebhookConfigurationList.md +11 -0
- data/docs/V1beta1VolumeAttachment.md +12 -0
- data/docs/V1beta1VolumeAttachmentList.md +11 -0
- data/docs/V1beta1VolumeAttachmentSource.md +8 -0
- data/docs/V1beta1VolumeAttachmentSpec.md +10 -0
- data/docs/V1beta1VolumeAttachmentStatus.md +11 -0
- data/docs/V1beta1VolumeError.md +9 -0
- data/docs/V1beta1Webhook.md +13 -0
- data/docs/V1beta2ControllerRevision.md +12 -0
- data/docs/V1beta2ControllerRevisionList.md +11 -0
- data/docs/V1beta2DaemonSet.md +12 -0
- data/docs/V1beta2DaemonSetCondition.md +12 -0
- data/docs/V1beta2DaemonSetList.md +11 -0
- data/docs/V1beta2DaemonSetSpec.md +12 -0
- data/docs/V1beta2DaemonSetStatus.md +17 -0
- data/docs/V1beta2DaemonSetUpdateStrategy.md +9 -0
- data/docs/V1beta2Deployment.md +12 -0
- data/docs/V1beta2DeploymentCondition.md +13 -0
- data/docs/V1beta2DeploymentList.md +11 -0
- data/docs/V1beta2DeploymentSpec.md +15 -0
- data/docs/V1beta2DeploymentStatus.md +15 -0
- data/docs/V1beta2DeploymentStrategy.md +9 -0
- data/docs/V1beta2ReplicaSet.md +12 -0
- data/docs/V1beta2ReplicaSetCondition.md +12 -0
- data/docs/V1beta2ReplicaSetList.md +11 -0
- data/docs/V1beta2ReplicaSetSpec.md +11 -0
- data/docs/V1beta2ReplicaSetStatus.md +13 -0
- data/docs/V1beta2RollingUpdateDaemonSet.md +8 -0
- data/docs/V1beta2RollingUpdateDeployment.md +9 -0
- data/docs/V1beta2RollingUpdateStatefulSetStrategy.md +8 -0
- data/docs/V1beta2Scale.md +12 -0
- data/docs/V1beta2ScaleSpec.md +8 -0
- data/docs/V1beta2ScaleStatus.md +10 -0
- data/docs/V1beta2StatefulSet.md +12 -0
- data/docs/V1beta2StatefulSetCondition.md +12 -0
- data/docs/V1beta2StatefulSetList.md +11 -0
- data/docs/V1beta2StatefulSetSpec.md +15 -0
- data/docs/V1beta2StatefulSetStatus.md +16 -0
- data/docs/V1beta2StatefulSetUpdateStrategy.md +9 -0
- data/docs/V2alpha1CronJob.md +12 -0
- data/docs/V2alpha1CronJobList.md +11 -0
- data/docs/V2alpha1CronJobSpec.md +14 -0
- data/docs/V2alpha1CronJobStatus.md +9 -0
- data/docs/V2alpha1JobTemplateSpec.md +9 -0
- data/docs/V2beta1CrossVersionObjectReference.md +10 -0
- data/docs/V2beta1ExternalMetricSource.md +11 -0
- data/docs/V2beta1ExternalMetricStatus.md +11 -0
- data/docs/V2beta1HorizontalPodAutoscaler.md +12 -0
- data/docs/V2beta1HorizontalPodAutoscalerCondition.md +12 -0
- data/docs/V2beta1HorizontalPodAutoscalerList.md +11 -0
- data/docs/V2beta1HorizontalPodAutoscalerSpec.md +11 -0
- data/docs/V2beta1HorizontalPodAutoscalerStatus.md +13 -0
- data/docs/V2beta1MetricSpec.md +12 -0
- data/docs/V2beta1MetricStatus.md +12 -0
- data/docs/V2beta1ObjectMetricSource.md +12 -0
- data/docs/V2beta1ObjectMetricStatus.md +12 -0
- data/docs/V2beta1PodsMetricSource.md +10 -0
- data/docs/V2beta1PodsMetricStatus.md +10 -0
- data/docs/V2beta1ResourceMetricSource.md +10 -0
- data/docs/V2beta1ResourceMetricStatus.md +10 -0
- data/docs/V2beta2CrossVersionObjectReference.md +10 -0
- data/docs/V2beta2ExternalMetricSource.md +9 -0
- data/docs/V2beta2ExternalMetricStatus.md +9 -0
- data/docs/V2beta2HorizontalPodAutoscaler.md +12 -0
- data/docs/V2beta2HorizontalPodAutoscalerCondition.md +12 -0
- data/docs/V2beta2HorizontalPodAutoscalerList.md +11 -0
- data/docs/V2beta2HorizontalPodAutoscalerSpec.md +11 -0
- data/docs/V2beta2HorizontalPodAutoscalerStatus.md +13 -0
- data/docs/V2beta2MetricIdentifier.md +9 -0
- data/docs/V2beta2MetricSpec.md +12 -0
- data/docs/V2beta2MetricStatus.md +12 -0
- data/docs/V2beta2MetricTarget.md +11 -0
- data/docs/V2beta2MetricValueStatus.md +10 -0
- data/docs/V2beta2ObjectMetricSource.md +10 -0
- data/docs/V2beta2ObjectMetricStatus.md +10 -0
- data/docs/V2beta2PodsMetricSource.md +9 -0
- data/docs/V2beta2PodsMetricStatus.md +9 -0
- data/docs/V2beta2ResourceMetricSource.md +9 -0
- data/docs/V2beta2ResourceMetricStatus.md +9 -0
- data/docs/VersionApi.md +56 -0
- data/docs/VersionInfo.md +16 -0
- data/git_push.sh +55 -0
- data/kubernetes.gemspec +45 -0
- data/lib/kubernetes.rb +679 -0
- data/lib/kubernetes/api/admissionregistration_api.rb +72 -0
- data/lib/kubernetes/api/admissionregistration_v1alpha1_api.rb +558 -0
- data/lib/kubernetes/api/admissionregistration_v1beta1_api.rb +1044 -0
- data/lib/kubernetes/api/apiextensions_api.rb +72 -0
- data/lib/kubernetes/api/apiextensions_v1beta1_api.rb +750 -0
- data/lib/kubernetes/api/apiregistration_api.rb +72 -0
- data/lib/kubernetes/api/apiregistration_v1_api.rb +750 -0
- data/lib/kubernetes/api/apiregistration_v1beta1_api.rb +750 -0
- data/lib/kubernetes/api/apis_api.rb +72 -0
- data/lib/kubernetes/api/apps_api.rb +72 -0
- data/lib/kubernetes/api/apps_v1_api.rb +4562 -0
- data/lib/kubernetes/api/apps_v1beta1_api.rb +2800 -0
- data/lib/kubernetes/api/apps_v1beta2_api.rb +4562 -0
- data/lib/kubernetes/api/auditregistration_api.rb +72 -0
- data/lib/kubernetes/api/auditregistration_v1alpha1_api.rb +558 -0
- data/lib/kubernetes/api/authentication_api.rb +72 -0
- data/lib/kubernetes/api/authentication_v1_api.rb +136 -0
- data/lib/kubernetes/api/authentication_v1beta1_api.rb +136 -0
- data/lib/kubernetes/api/authorization_api.rb +72 -0
- data/lib/kubernetes/api/authorization_v1_api.rb +334 -0
- data/lib/kubernetes/api/authorization_v1beta1_api.rb +334 -0
- data/lib/kubernetes/api/autoscaling_api.rb +72 -0
- data/lib/kubernetes/api/autoscaling_v1_api.rb +886 -0
- data/lib/kubernetes/api/autoscaling_v2beta1_api.rb +886 -0
- data/lib/kubernetes/api/autoscaling_v2beta2_api.rb +886 -0
- data/lib/kubernetes/api/batch_api.rb +72 -0
- data/lib/kubernetes/api/batch_v1_api.rb +886 -0
- data/lib/kubernetes/api/batch_v1beta1_api.rb +886 -0
- data/lib/kubernetes/api/batch_v2alpha1_api.rb +886 -0
- data/lib/kubernetes/api/certificates_api.rb +72 -0
- data/lib/kubernetes/api/certificates_v1beta1_api.rb +817 -0
- data/lib/kubernetes/api/coordination_api.rb +72 -0
- data/lib/kubernetes/api/coordination_v1beta1_api.rb +676 -0
- data/lib/kubernetes/api/core_api.rb +72 -0
- data/lib/kubernetes/api/core_v1_api.rb +14132 -0
- data/lib/kubernetes/api/custom_objects_api.rb +1969 -0
- data/lib/kubernetes/api/events_api.rb +72 -0
- data/lib/kubernetes/api/events_v1beta1_api.rb +676 -0
- data/lib/kubernetes/api/extensions_api.rb +72 -0
- data/lib/kubernetes/api/extensions_v1beta1_api.rb +5124 -0
- data/lib/kubernetes/api/logs_api.rb +117 -0
- data/lib/kubernetes/api/networking_api.rb +72 -0
- data/lib/kubernetes/api/networking_v1_api.rb +676 -0
- data/lib/kubernetes/api/policy_api.rb +72 -0
- data/lib/kubernetes/api/policy_v1beta1_api.rb +1372 -0
- data/lib/kubernetes/api/rbac_authorization_api.rb +72 -0
- data/lib/kubernetes/api/rbac_authorization_v1_api.rb +2228 -0
- data/lib/kubernetes/api/rbac_authorization_v1alpha1_api.rb +2228 -0
- data/lib/kubernetes/api/rbac_authorization_v1beta1_api.rb +2228 -0
- data/lib/kubernetes/api/scheduling_api.rb +72 -0
- data/lib/kubernetes/api/scheduling_v1alpha1_api.rb +558 -0
- data/lib/kubernetes/api/scheduling_v1beta1_api.rb +558 -0
- data/lib/kubernetes/api/settings_api.rb +72 -0
- data/lib/kubernetes/api/settings_v1alpha1_api.rb +676 -0
- data/lib/kubernetes/api/storage_api.rb +72 -0
- data/lib/kubernetes/api/storage_v1_api.rb +1236 -0
- data/lib/kubernetes/api/storage_v1alpha1_api.rb +558 -0
- data/lib/kubernetes/api/storage_v1beta1_api.rb +1044 -0
- data/lib/kubernetes/api/version_api.rb +72 -0
- data/lib/kubernetes/api_client.rb +389 -0
- data/lib/kubernetes/api_error.rb +38 -0
- data/lib/kubernetes/configuration.rb +209 -0
- data/lib/kubernetes/models/admissionregistration_v1beta1_service_reference.rb +219 -0
- data/lib/kubernetes/models/admissionregistration_v1beta1_webhook_client_config.rb +225 -0
- data/lib/kubernetes/models/apiextensions_v1beta1_service_reference.rb +219 -0
- data/lib/kubernetes/models/apiextensions_v1beta1_webhook_client_config.rb +225 -0
- data/lib/kubernetes/models/apiregistration_v1beta1_service_reference.rb +199 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment.rb +229 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_condition.rb +249 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_list.rb +226 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_rollback.rb +241 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_spec.rb +274 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_status.rb +261 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_strategy.rb +199 -0
- data/lib/kubernetes/models/apps_v1beta1_rollback_config.rb +189 -0
- data/lib/kubernetes/models/apps_v1beta1_rolling_update_deployment.rb +199 -0
- data/lib/kubernetes/models/apps_v1beta1_scale.rb +229 -0
- data/lib/kubernetes/models/apps_v1beta1_scale_spec.rb +189 -0
- data/lib/kubernetes/models/apps_v1beta1_scale_status.rb +216 -0
- data/lib/kubernetes/models/extensions_v1beta1_allowed_flex_volume.rb +194 -0
- data/lib/kubernetes/models/extensions_v1beta1_allowed_host_path.rb +199 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment.rb +229 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_condition.rb +249 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_list.rb +226 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_rollback.rb +241 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_spec.rb +274 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_status.rb +261 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_strategy.rb +199 -0
- data/lib/kubernetes/models/extensions_v1beta1_fs_group_strategy_options.rb +201 -0
- data/lib/kubernetes/models/extensions_v1beta1_host_port_range.rb +209 -0
- data/lib/kubernetes/models/extensions_v1beta1_id_range.rb +209 -0
- data/lib/kubernetes/models/extensions_v1beta1_pod_security_policy.rb +219 -0
- data/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_list.rb +226 -0
- data/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_spec.rb +439 -0
- data/lib/kubernetes/models/extensions_v1beta1_rollback_config.rb +189 -0
- data/lib/kubernetes/models/extensions_v1beta1_rolling_update_deployment.rb +199 -0
- data/lib/kubernetes/models/extensions_v1beta1_run_as_group_strategy_options.rb +206 -0
- data/lib/kubernetes/models/extensions_v1beta1_run_as_user_strategy_options.rb +206 -0
- data/lib/kubernetes/models/extensions_v1beta1_scale.rb +229 -0
- data/lib/kubernetes/models/extensions_v1beta1_scale_spec.rb +189 -0
- data/lib/kubernetes/models/extensions_v1beta1_scale_status.rb +216 -0
- data/lib/kubernetes/models/extensions_v1beta1_se_linux_strategy_options.rb +204 -0
- data/lib/kubernetes/models/extensions_v1beta1_supplemental_groups_strategy_options.rb +201 -0
- data/lib/kubernetes/models/policy_v1beta1_allowed_flex_volume.rb +194 -0
- data/lib/kubernetes/models/policy_v1beta1_allowed_host_path.rb +199 -0
- data/lib/kubernetes/models/policy_v1beta1_fs_group_strategy_options.rb +201 -0
- data/lib/kubernetes/models/policy_v1beta1_host_port_range.rb +209 -0
- data/lib/kubernetes/models/policy_v1beta1_id_range.rb +209 -0
- data/lib/kubernetes/models/policy_v1beta1_pod_security_policy.rb +219 -0
- data/lib/kubernetes/models/policy_v1beta1_pod_security_policy_list.rb +226 -0
- data/lib/kubernetes/models/policy_v1beta1_pod_security_policy_spec.rb +439 -0
- data/lib/kubernetes/models/policy_v1beta1_run_as_group_strategy_options.rb +206 -0
- data/lib/kubernetes/models/policy_v1beta1_run_as_user_strategy_options.rb +206 -0
- data/lib/kubernetes/models/policy_v1beta1_se_linux_strategy_options.rb +204 -0
- data/lib/kubernetes/models/policy_v1beta1_supplemental_groups_strategy_options.rb +201 -0
- data/lib/kubernetes/models/runtime_raw_extension.rb +213 -0
- data/lib/kubernetes/models/v1_affinity.rb +209 -0
- data/lib/kubernetes/models/v1_aggregation_rule.rb +191 -0
- data/lib/kubernetes/models/v1_api_group.rb +253 -0
- data/lib/kubernetes/models/v1_api_group_list.rb +216 -0
- data/lib/kubernetes/models/v1_api_resource.rb +300 -0
- data/lib/kubernetes/models/v1_api_resource_list.rb +231 -0
- data/lib/kubernetes/models/v1_api_service.rb +228 -0
- data/lib/kubernetes/models/v1_api_service_condition.rb +239 -0
- data/lib/kubernetes/models/v1_api_service_list.rb +224 -0
- data/lib/kubernetes/models/v1_api_service_spec.rb +280 -0
- data/lib/kubernetes/models/v1_api_service_status.rb +191 -0
- data/lib/kubernetes/models/v1_api_versions.rb +233 -0
- data/lib/kubernetes/models/v1_attached_volume.rb +209 -0
- data/lib/kubernetes/models/v1_aws_elastic_block_store_volume_source.rb +224 -0
- data/lib/kubernetes/models/v1_azure_disk_volume_source.rb +249 -0
- data/lib/kubernetes/models/v1_azure_file_persistent_volume_source.rb +229 -0
- data/lib/kubernetes/models/v1_azure_file_volume_source.rb +219 -0
- data/lib/kubernetes/models/v1_binding.rb +224 -0
- data/lib/kubernetes/models/v1_capabilities.rb +203 -0
- data/lib/kubernetes/models/v1_ceph_fs_persistent_volume_source.rb +246 -0
- data/lib/kubernetes/models/v1_ceph_fs_volume_source.rb +246 -0
- data/lib/kubernetes/models/v1_cinder_persistent_volume_source.rb +224 -0
- data/lib/kubernetes/models/v1_cinder_volume_source.rb +224 -0
- data/lib/kubernetes/models/v1_client_ip_config.rb +189 -0
- data/lib/kubernetes/models/v1_cluster_role.rb +236 -0
- data/lib/kubernetes/models/v1_cluster_role_binding.rb +236 -0
- data/lib/kubernetes/models/v1_cluster_role_binding_list.rb +226 -0
- data/lib/kubernetes/models/v1_cluster_role_list.rb +226 -0
- data/lib/kubernetes/models/v1_component_condition.rb +229 -0
- data/lib/kubernetes/models/v1_component_status.rb +221 -0
- data/lib/kubernetes/models/v1_component_status_list.rb +226 -0
- data/lib/kubernetes/models/v1_config_map.rb +233 -0
- data/lib/kubernetes/models/v1_config_map_env_source.rb +199 -0
- data/lib/kubernetes/models/v1_config_map_key_selector.rb +214 -0
- data/lib/kubernetes/models/v1_config_map_list.rb +226 -0
- data/lib/kubernetes/models/v1_config_map_node_config_source.rb +244 -0
- data/lib/kubernetes/models/v1_config_map_projection.rb +211 -0
- data/lib/kubernetes/models/v1_config_map_volume_source.rb +221 -0
- data/lib/kubernetes/models/v1_container.rb +408 -0
- data/lib/kubernetes/models/v1_container_image.rb +206 -0
- data/lib/kubernetes/models/v1_container_port.rb +234 -0
- data/lib/kubernetes/models/v1_container_state.rb +209 -0
- data/lib/kubernetes/models/v1_container_state_running.rb +189 -0
- data/lib/kubernetes/models/v1_container_state_terminated.rb +254 -0
- data/lib/kubernetes/models/v1_container_state_waiting.rb +199 -0
- data/lib/kubernetes/models/v1_container_status.rb +284 -0
- data/lib/kubernetes/models/v1_controller_revision.rb +234 -0
- data/lib/kubernetes/models/v1_controller_revision_list.rb +226 -0
- data/lib/kubernetes/models/v1_cross_version_object_reference.rb +219 -0
- data/lib/kubernetes/models/v1_csi_persistent_volume_source.rb +271 -0
- data/lib/kubernetes/models/v1_daemon_endpoint.rb +194 -0
- data/lib/kubernetes/models/v1_daemon_set.rb +229 -0
- data/lib/kubernetes/models/v1_daemon_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1_daemon_set_list.rb +226 -0
- data/lib/kubernetes/models/v1_daemon_set_spec.rb +239 -0
- data/lib/kubernetes/models/v1_daemon_set_status.rb +301 -0
- data/lib/kubernetes/models/v1_daemon_set_update_strategy.rb +199 -0
- data/lib/kubernetes/models/v1_delete_options.rb +251 -0
- data/lib/kubernetes/models/v1_deployment.rb +229 -0
- data/lib/kubernetes/models/v1_deployment_condition.rb +249 -0
- data/lib/kubernetes/models/v1_deployment_list.rb +226 -0
- data/lib/kubernetes/models/v1_deployment_spec.rb +269 -0
- data/lib/kubernetes/models/v1_deployment_status.rb +261 -0
- data/lib/kubernetes/models/v1_deployment_strategy.rb +199 -0
- data/lib/kubernetes/models/v1_downward_api_projection.rb +191 -0
- data/lib/kubernetes/models/v1_downward_api_volume_file.rb +224 -0
- data/lib/kubernetes/models/v1_downward_api_volume_source.rb +201 -0
- data/lib/kubernetes/models/v1_empty_dir_volume_source.rb +199 -0
- data/lib/kubernetes/models/v1_endpoint_address.rb +224 -0
- data/lib/kubernetes/models/v1_endpoint_port.rb +214 -0
- data/lib/kubernetes/models/v1_endpoint_subset.rb +215 -0
- data/lib/kubernetes/models/v1_endpoints.rb +221 -0
- data/lib/kubernetes/models/v1_endpoints_list.rb +226 -0
- data/lib/kubernetes/models/v1_env_from_source.rb +209 -0
- data/lib/kubernetes/models/v1_env_var.rb +214 -0
- data/lib/kubernetes/models/v1_env_var_source.rb +219 -0
- data/lib/kubernetes/models/v1_event.rb +359 -0
- data/lib/kubernetes/models/v1_event_list.rb +226 -0
- data/lib/kubernetes/models/v1_event_series.rb +209 -0
- data/lib/kubernetes/models/v1_event_source.rb +199 -0
- data/lib/kubernetes/models/v1_exec_action.rb +191 -0
- data/lib/kubernetes/models/v1_fc_volume_source.rb +233 -0
- data/lib/kubernetes/models/v1_flex_persistent_volume_source.rb +236 -0
- data/lib/kubernetes/models/v1_flex_volume_source.rb +236 -0
- data/lib/kubernetes/models/v1_flocker_volume_source.rb +199 -0
- data/lib/kubernetes/models/v1_gce_persistent_disk_volume_source.rb +224 -0
- data/lib/kubernetes/models/v1_git_repo_volume_source.rb +214 -0
- data/lib/kubernetes/models/v1_glusterfs_persistent_volume_source.rb +229 -0
- data/lib/kubernetes/models/v1_glusterfs_volume_source.rb +219 -0
- data/lib/kubernetes/models/v1_group_version_for_discovery.rb +209 -0
- data/lib/kubernetes/models/v1_handler.rb +209 -0
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler.rb +229 -0
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_list.rb +226 -0
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_spec.rb +229 -0
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_status.rb +239 -0
- data/lib/kubernetes/models/v1_host_alias.rb +201 -0
- data/lib/kubernetes/models/v1_host_path_volume_source.rb +204 -0
- data/lib/kubernetes/models/v1_http_get_action.rb +236 -0
- data/lib/kubernetes/models/v1_http_header.rb +209 -0
- data/lib/kubernetes/models/v1_initializer.rb +194 -0
- data/lib/kubernetes/models/v1_initializers.rb +206 -0
- data/lib/kubernetes/models/v1_ip_block.rb +206 -0
- data/lib/kubernetes/models/v1_iscsi_persistent_volume_source.rb +306 -0
- data/lib/kubernetes/models/v1_iscsi_volume_source.rb +306 -0
- data/lib/kubernetes/models/v1_job.rb +229 -0
- data/lib/kubernetes/models/v1_job_condition.rb +249 -0
- data/lib/kubernetes/models/v1_job_list.rb +226 -0
- data/lib/kubernetes/models/v1_job_spec.rb +264 -0
- data/lib/kubernetes/models/v1_job_status.rb +241 -0
- data/lib/kubernetes/models/v1_key_to_path.rb +219 -0
- data/lib/kubernetes/models/v1_label_selector.rb +203 -0
- data/lib/kubernetes/models/v1_label_selector_requirement.rb +221 -0
- data/lib/kubernetes/models/v1_lifecycle.rb +199 -0
- data/lib/kubernetes/models/v1_limit_range.rb +219 -0
- data/lib/kubernetes/models/v1_limit_range_item.rb +249 -0
- data/lib/kubernetes/models/v1_limit_range_list.rb +226 -0
- data/lib/kubernetes/models/v1_limit_range_spec.rb +196 -0
- data/lib/kubernetes/models/v1_list_meta.rb +209 -0
- data/lib/kubernetes/models/v1_load_balancer_ingress.rb +199 -0
- data/lib/kubernetes/models/v1_load_balancer_status.rb +191 -0
- data/lib/kubernetes/models/v1_local_object_reference.rb +189 -0
- data/lib/kubernetes/models/v1_local_subject_access_review.rb +233 -0
- data/lib/kubernetes/models/v1_local_volume_source.rb +204 -0
- data/lib/kubernetes/models/v1_namespace.rb +229 -0
- data/lib/kubernetes/models/v1_namespace_list.rb +226 -0
- data/lib/kubernetes/models/v1_namespace_spec.rb +191 -0
- data/lib/kubernetes/models/v1_namespace_status.rb +189 -0
- data/lib/kubernetes/models/v1_network_policy.rb +219 -0
- data/lib/kubernetes/models/v1_network_policy_egress_rule.rb +203 -0
- data/lib/kubernetes/models/v1_network_policy_ingress_rule.rb +203 -0
- data/lib/kubernetes/models/v1_network_policy_list.rb +226 -0
- data/lib/kubernetes/models/v1_network_policy_peer.rb +209 -0
- data/lib/kubernetes/models/v1_network_policy_port.rb +199 -0
- data/lib/kubernetes/models/v1_network_policy_spec.rb +230 -0
- data/lib/kubernetes/models/v1_nfs_volume_source.rb +219 -0
- data/lib/kubernetes/models/v1_node.rb +229 -0
- data/lib/kubernetes/models/v1_node_address.rb +209 -0
- data/lib/kubernetes/models/v1_node_affinity.rb +201 -0
- data/lib/kubernetes/models/v1_node_condition.rb +249 -0
- data/lib/kubernetes/models/v1_node_config_source.rb +189 -0
- data/lib/kubernetes/models/v1_node_config_status.rb +219 -0
- data/lib/kubernetes/models/v1_node_daemon_endpoints.rb +189 -0
- data/lib/kubernetes/models/v1_node_list.rb +226 -0
- data/lib/kubernetes/models/v1_node_selector.rb +196 -0
- data/lib/kubernetes/models/v1_node_selector_requirement.rb +221 -0
- data/lib/kubernetes/models/v1_node_selector_term.rb +203 -0
- data/lib/kubernetes/models/v1_node_spec.rb +241 -0
- data/lib/kubernetes/models/v1_node_status.rb +303 -0
- data/lib/kubernetes/models/v1_node_system_info.rb +329 -0
- data/lib/kubernetes/models/v1_non_resource_attributes.rb +199 -0
- data/lib/kubernetes/models/v1_non_resource_rule.rb +208 -0
- data/lib/kubernetes/models/v1_object_field_selector.rb +204 -0
- data/lib/kubernetes/models/v1_object_meta.rb +347 -0
- data/lib/kubernetes/models/v1_object_reference.rb +249 -0
- data/lib/kubernetes/models/v1_owner_reference.rb +259 -0
- data/lib/kubernetes/models/v1_persistent_volume.rb +229 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim.rb +229 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_condition.rb +247 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_list.rb +226 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_spec.rb +251 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_status.rb +225 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_volume_source.rb +204 -0
- data/lib/kubernetes/models/v1_persistent_volume_list.rb +226 -0
- data/lib/kubernetes/models/v1_persistent_volume_spec.rb +485 -0
- data/lib/kubernetes/models/v1_persistent_volume_status.rb +209 -0
- data/lib/kubernetes/models/v1_photon_persistent_disk_volume_source.rb +204 -0
- data/lib/kubernetes/models/v1_pod.rb +229 -0
- data/lib/kubernetes/models/v1_pod_affinity.rb +203 -0
- data/lib/kubernetes/models/v1_pod_affinity_term.rb +216 -0
- data/lib/kubernetes/models/v1_pod_anti_affinity.rb +203 -0
- data/lib/kubernetes/models/v1_pod_condition.rb +249 -0
- data/lib/kubernetes/models/v1_pod_dns_config.rb +215 -0
- data/lib/kubernetes/models/v1_pod_dns_config_option.rb +198 -0
- data/lib/kubernetes/models/v1_pod_list.rb +226 -0
- data/lib/kubernetes/models/v1_pod_readiness_gate.rb +194 -0
- data/lib/kubernetes/models/v1_pod_security_context.rb +253 -0
- data/lib/kubernetes/models/v1_pod_spec.rb +500 -0
- data/lib/kubernetes/models/v1_pod_status.rb +295 -0
- data/lib/kubernetes/models/v1_pod_template.rb +219 -0
- data/lib/kubernetes/models/v1_pod_template_list.rb +226 -0
- data/lib/kubernetes/models/v1_pod_template_spec.rb +199 -0
- data/lib/kubernetes/models/v1_policy_rule.rb +244 -0
- data/lib/kubernetes/models/v1_portworx_volume_source.rb +214 -0
- data/lib/kubernetes/models/v1_preconditions.rb +189 -0
- data/lib/kubernetes/models/v1_preferred_scheduling_term.rb +209 -0
- data/lib/kubernetes/models/v1_probe.rb +259 -0
- data/lib/kubernetes/models/v1_projected_volume_source.rb +206 -0
- data/lib/kubernetes/models/v1_quobyte_volume_source.rb +239 -0
- data/lib/kubernetes/models/v1_rbd_persistent_volume_source.rb +271 -0
- data/lib/kubernetes/models/v1_rbd_volume_source.rb +271 -0
- data/lib/kubernetes/models/v1_replica_set.rb +229 -0
- data/lib/kubernetes/models/v1_replica_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1_replica_set_list.rb +226 -0
- data/lib/kubernetes/models/v1_replica_set_spec.rb +224 -0
- data/lib/kubernetes/models/v1_replica_set_status.rb +246 -0
- data/lib/kubernetes/models/v1_replication_controller.rb +229 -0
- data/lib/kubernetes/models/v1_replication_controller_condition.rb +239 -0
- data/lib/kubernetes/models/v1_replication_controller_list.rb +226 -0
- data/lib/kubernetes/models/v1_replication_controller_spec.rb +221 -0
- data/lib/kubernetes/models/v1_replication_controller_status.rb +246 -0
- data/lib/kubernetes/models/v1_resource_attributes.rb +249 -0
- data/lib/kubernetes/models/v1_resource_field_selector.rb +214 -0
- data/lib/kubernetes/models/v1_resource_quota.rb +229 -0
- data/lib/kubernetes/models/v1_resource_quota_list.rb +226 -0
- data/lib/kubernetes/models/v1_resource_quota_spec.rb +213 -0
- data/lib/kubernetes/models/v1_resource_quota_status.rb +203 -0
- data/lib/kubernetes/models/v1_resource_requirements.rb +203 -0
- data/lib/kubernetes/models/v1_resource_rule.rb +232 -0
- data/lib/kubernetes/models/v1_role.rb +226 -0
- data/lib/kubernetes/models/v1_role_binding.rb +236 -0
- data/lib/kubernetes/models/v1_role_binding_list.rb +226 -0
- data/lib/kubernetes/models/v1_role_list.rb +226 -0
- data/lib/kubernetes/models/v1_role_ref.rb +224 -0
- data/lib/kubernetes/models/v1_rolling_update_daemon_set.rb +189 -0
- data/lib/kubernetes/models/v1_rolling_update_deployment.rb +199 -0
- data/lib/kubernetes/models/v1_rolling_update_stateful_set_strategy.rb +189 -0
- data/lib/kubernetes/models/v1_scale.rb +229 -0
- data/lib/kubernetes/models/v1_scale_io_persistent_volume_source.rb +294 -0
- data/lib/kubernetes/models/v1_scale_io_volume_source.rb +294 -0
- data/lib/kubernetes/models/v1_scale_spec.rb +189 -0
- data/lib/kubernetes/models/v1_scale_status.rb +204 -0
- data/lib/kubernetes/models/v1_scope_selector.rb +191 -0
- data/lib/kubernetes/models/v1_scoped_resource_selector_requirement.rb +221 -0
- data/lib/kubernetes/models/v1_se_linux_options.rb +219 -0
- data/lib/kubernetes/models/v1_secret.rb +243 -0
- data/lib/kubernetes/models/v1_secret_env_source.rb +199 -0
- data/lib/kubernetes/models/v1_secret_key_selector.rb +214 -0
- data/lib/kubernetes/models/v1_secret_list.rb +226 -0
- data/lib/kubernetes/models/v1_secret_projection.rb +211 -0
- data/lib/kubernetes/models/v1_secret_reference.rb +199 -0
- data/lib/kubernetes/models/v1_secret_volume_source.rb +221 -0
- data/lib/kubernetes/models/v1_security_context.rb +269 -0
- data/lib/kubernetes/models/v1_self_subject_access_review.rb +233 -0
- data/lib/kubernetes/models/v1_self_subject_access_review_spec.rb +199 -0
- data/lib/kubernetes/models/v1_self_subject_rules_review.rb +233 -0
- data/lib/kubernetes/models/v1_self_subject_rules_review_spec.rb +189 -0
- data/lib/kubernetes/models/v1_server_address_by_client_cidr.rb +209 -0
- data/lib/kubernetes/models/v1_service.rb +229 -0
- data/lib/kubernetes/models/v1_service_account.rb +243 -0
- data/lib/kubernetes/models/v1_service_account_list.rb +226 -0
- data/lib/kubernetes/models/v1_service_account_token_projection.rb +214 -0
- data/lib/kubernetes/models/v1_service_list.rb +226 -0
- data/lib/kubernetes/models/v1_service_port.rb +234 -0
- data/lib/kubernetes/models/v1_service_reference.rb +199 -0
- data/lib/kubernetes/models/v1_service_spec.rb +317 -0
- data/lib/kubernetes/models/v1_service_status.rb +189 -0
- data/lib/kubernetes/models/v1_session_affinity_config.rb +189 -0
- data/lib/kubernetes/models/v1_stateful_set.rb +228 -0
- data/lib/kubernetes/models/v1_stateful_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1_stateful_set_list.rb +224 -0
- data/lib/kubernetes/models/v1_stateful_set_spec.rb +276 -0
- data/lib/kubernetes/models/v1_stateful_set_status.rb +276 -0
- data/lib/kubernetes/models/v1_stateful_set_update_strategy.rb +199 -0
- data/lib/kubernetes/models/v1_status.rb +259 -0
- data/lib/kubernetes/models/v1_status_cause.rb +209 -0
- data/lib/kubernetes/models/v1_status_details.rb +241 -0
- data/lib/kubernetes/models/v1_storage_class.rb +290 -0
- data/lib/kubernetes/models/v1_storage_class_list.rb +226 -0
- data/lib/kubernetes/models/v1_storage_os_persistent_volume_source.rb +229 -0
- data/lib/kubernetes/models/v1_storage_os_volume_source.rb +229 -0
- data/lib/kubernetes/models/v1_subject.rb +229 -0
- data/lib/kubernetes/models/v1_subject_access_review.rb +233 -0
- data/lib/kubernetes/models/v1_subject_access_review_spec.rb +243 -0
- data/lib/kubernetes/models/v1_subject_access_review_status.rb +224 -0
- data/lib/kubernetes/models/v1_subject_rules_review_status.rb +238 -0
- data/lib/kubernetes/models/v1_sysctl.rb +209 -0
- data/lib/kubernetes/models/v1_taint.rb +229 -0
- data/lib/kubernetes/models/v1_tcp_socket_action.rb +204 -0
- data/lib/kubernetes/models/v1_token_review.rb +233 -0
- data/lib/kubernetes/models/v1_token_review_spec.rb +201 -0
- data/lib/kubernetes/models/v1_token_review_status.rb +221 -0
- data/lib/kubernetes/models/v1_toleration.rb +229 -0
- data/lib/kubernetes/models/v1_topology_selector_label_requirement.rb +211 -0
- data/lib/kubernetes/models/v1_topology_selector_term.rb +191 -0
- data/lib/kubernetes/models/v1_typed_local_object_reference.rb +219 -0
- data/lib/kubernetes/models/v1_user_info.rb +223 -0
- data/lib/kubernetes/models/v1_volume.rb +464 -0
- data/lib/kubernetes/models/v1_volume_attachment.rb +234 -0
- data/lib/kubernetes/models/v1_volume_attachment_list.rb +226 -0
- data/lib/kubernetes/models/v1_volume_attachment_source.rb +189 -0
- data/lib/kubernetes/models/v1_volume_attachment_spec.rb +224 -0
- data/lib/kubernetes/models/v1_volume_attachment_status.rb +226 -0
- data/lib/kubernetes/models/v1_volume_device.rb +209 -0
- data/lib/kubernetes/models/v1_volume_error.rb +199 -0
- data/lib/kubernetes/models/v1_volume_mount.rb +239 -0
- data/lib/kubernetes/models/v1_volume_node_affinity.rb +189 -0
- data/lib/kubernetes/models/v1_volume_projection.rb +219 -0
- data/lib/kubernetes/models/v1_vsphere_virtual_disk_volume_source.rb +224 -0
- data/lib/kubernetes/models/v1_watch_event.rb +208 -0
- data/lib/kubernetes/models/v1_weighted_pod_affinity_term.rb +209 -0
- data/lib/kubernetes/models/v1alpha1_aggregation_rule.rb +191 -0
- data/lib/kubernetes/models/v1alpha1_audit_sink.rb +218 -0
- data/lib/kubernetes/models/v1alpha1_audit_sink_list.rb +225 -0
- data/lib/kubernetes/models/v1alpha1_audit_sink_spec.rb +209 -0
- data/lib/kubernetes/models/v1alpha1_cluster_role.rb +236 -0
- data/lib/kubernetes/models/v1alpha1_cluster_role_binding.rb +236 -0
- data/lib/kubernetes/models/v1alpha1_cluster_role_binding_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_cluster_role_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_initializer.rb +206 -0
- data/lib/kubernetes/models/v1alpha1_initializer_configuration.rb +221 -0
- data/lib/kubernetes/models/v1alpha1_initializer_configuration_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_pod_preset.rb +217 -0
- data/lib/kubernetes/models/v1alpha1_pod_preset_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_pod_preset_spec.rb +237 -0
- data/lib/kubernetes/models/v1alpha1_policy.rb +206 -0
- data/lib/kubernetes/models/v1alpha1_policy_rule.rb +244 -0
- data/lib/kubernetes/models/v1alpha1_priority_class.rb +244 -0
- data/lib/kubernetes/models/v1alpha1_priority_class_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_role.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_role_binding.rb +236 -0
- data/lib/kubernetes/models/v1alpha1_role_binding_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_role_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_role_ref.rb +224 -0
- data/lib/kubernetes/models/v1alpha1_rule.rb +215 -0
- data/lib/kubernetes/models/v1alpha1_service_reference.rb +219 -0
- data/lib/kubernetes/models/v1alpha1_subject.rb +229 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment.rb +234 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment_source.rb +189 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment_spec.rb +224 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment_status.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_volume_error.rb +199 -0
- data/lib/kubernetes/models/v1alpha1_webhook.rb +204 -0
- data/lib/kubernetes/models/v1alpha1_webhook_client_config.rb +225 -0
- data/lib/kubernetes/models/v1alpha1_webhook_throttle_config.rb +199 -0
- data/lib/kubernetes/models/v1beta1_aggregation_rule.rb +191 -0
- data/lib/kubernetes/models/v1beta1_api_service.rb +228 -0
- data/lib/kubernetes/models/v1beta1_api_service_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta1_api_service_list.rb +224 -0
- data/lib/kubernetes/models/v1beta1_api_service_spec.rb +280 -0
- data/lib/kubernetes/models/v1beta1_api_service_status.rb +191 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request.rb +228 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request_condition.rb +224 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request_list.rb +224 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request_spec.rb +269 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request_status.rb +217 -0
- data/lib/kubernetes/models/v1beta1_cluster_role.rb +236 -0
- data/lib/kubernetes/models/v1beta1_cluster_role_binding.rb +236 -0
- data/lib/kubernetes/models/v1beta1_cluster_role_binding_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_cluster_role_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_controller_revision.rb +234 -0
- data/lib/kubernetes/models/v1beta1_controller_revision_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_cron_job.rb +229 -0
- data/lib/kubernetes/models/v1beta1_cron_job_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_cron_job_spec.rb +259 -0
- data/lib/kubernetes/models/v1beta1_cron_job_status.rb +201 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_column_definition.rb +254 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_conversion.rb +204 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition.rb +233 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_list.rb +225 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_names.rb +253 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_spec.rb +288 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_status.rb +228 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_version.rb +256 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_subresource_scale.rb +219 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_subresources.rb +199 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_validation.rb +189 -0
- data/lib/kubernetes/models/v1beta1_daemon_set.rb +229 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_spec.rb +244 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_status.rb +301 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_update_strategy.rb +199 -0
- data/lib/kubernetes/models/v1beta1_event.rb +353 -0
- data/lib/kubernetes/models/v1beta1_event_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_event_series.rb +224 -0
- data/lib/kubernetes/models/v1beta1_eviction.rb +219 -0
- data/lib/kubernetes/models/v1beta1_external_documentation.rb +197 -0
- data/lib/kubernetes/models/v1beta1_http_ingress_path.rb +204 -0
- data/lib/kubernetes/models/v1beta1_http_ingress_rule_value.rb +196 -0
- data/lib/kubernetes/models/v1beta1_ingress.rb +229 -0
- data/lib/kubernetes/models/v1beta1_ingress_backend.rb +209 -0
- data/lib/kubernetes/models/v1beta1_ingress_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_ingress_rule.rb +198 -0
- data/lib/kubernetes/models/v1beta1_ingress_spec.rb +213 -0
- data/lib/kubernetes/models/v1beta1_ingress_status.rb +189 -0
- data/lib/kubernetes/models/v1beta1_ingress_tls.rb +201 -0
- data/lib/kubernetes/models/v1beta1_ip_block.rb +206 -0
- data/lib/kubernetes/models/v1beta1_job_template_spec.rb +199 -0
- data/lib/kubernetes/models/v1beta1_json_schema_props.rb +526 -0
- data/lib/kubernetes/models/v1beta1_lease.rb +219 -0
- data/lib/kubernetes/models/v1beta1_lease_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_lease_spec.rb +229 -0
- data/lib/kubernetes/models/v1beta1_local_subject_access_review.rb +233 -0
- data/lib/kubernetes/models/v1beta1_mutating_webhook_configuration.rb +221 -0
- data/lib/kubernetes/models/v1beta1_mutating_webhook_configuration_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_network_policy.rb +219 -0
- data/lib/kubernetes/models/v1beta1_network_policy_egress_rule.rb +203 -0
- data/lib/kubernetes/models/v1beta1_network_policy_ingress_rule.rb +203 -0
- data/lib/kubernetes/models/v1beta1_network_policy_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_network_policy_peer.rb +209 -0
- data/lib/kubernetes/models/v1beta1_network_policy_port.rb +199 -0
- data/lib/kubernetes/models/v1beta1_network_policy_spec.rb +230 -0
- data/lib/kubernetes/models/v1beta1_non_resource_attributes.rb +199 -0
- data/lib/kubernetes/models/v1beta1_non_resource_rule.rb +208 -0
- data/lib/kubernetes/models/v1beta1_pod_disruption_budget.rb +228 -0
- data/lib/kubernetes/models/v1beta1_pod_disruption_budget_list.rb +224 -0
- data/lib/kubernetes/models/v1beta1_pod_disruption_budget_spec.rb +209 -0
- data/lib/kubernetes/models/v1beta1_pod_disruption_budget_status.rb +261 -0
- data/lib/kubernetes/models/v1beta1_policy_rule.rb +244 -0
- data/lib/kubernetes/models/v1beta1_priority_class.rb +244 -0
- data/lib/kubernetes/models/v1beta1_priority_class_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_replica_set.rb +229 -0
- data/lib/kubernetes/models/v1beta1_replica_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta1_replica_set_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_replica_set_spec.rb +219 -0
- data/lib/kubernetes/models/v1beta1_replica_set_status.rb +246 -0
- data/lib/kubernetes/models/v1beta1_resource_attributes.rb +249 -0
- data/lib/kubernetes/models/v1beta1_resource_rule.rb +232 -0
- data/lib/kubernetes/models/v1beta1_role.rb +226 -0
- data/lib/kubernetes/models/v1beta1_role_binding.rb +236 -0
- data/lib/kubernetes/models/v1beta1_role_binding_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_role_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_role_ref.rb +224 -0
- data/lib/kubernetes/models/v1beta1_rolling_update_daemon_set.rb +189 -0
- data/lib/kubernetes/models/v1beta1_rolling_update_stateful_set_strategy.rb +189 -0
- data/lib/kubernetes/models/v1beta1_rule_with_operations.rb +227 -0
- data/lib/kubernetes/models/v1beta1_self_subject_access_review.rb +233 -0
- data/lib/kubernetes/models/v1beta1_self_subject_access_review_spec.rb +199 -0
- data/lib/kubernetes/models/v1beta1_self_subject_rules_review.rb +233 -0
- data/lib/kubernetes/models/v1beta1_self_subject_rules_review_spec.rb +189 -0
- data/lib/kubernetes/models/v1beta1_stateful_set.rb +228 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_list.rb +224 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_spec.rb +271 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_status.rb +276 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_update_strategy.rb +199 -0
- data/lib/kubernetes/models/v1beta1_storage_class.rb +290 -0
- data/lib/kubernetes/models/v1beta1_storage_class_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_subject.rb +229 -0
- data/lib/kubernetes/models/v1beta1_subject_access_review.rb +233 -0
- data/lib/kubernetes/models/v1beta1_subject_access_review_spec.rb +243 -0
- data/lib/kubernetes/models/v1beta1_subject_access_review_status.rb +224 -0
- data/lib/kubernetes/models/v1beta1_subject_rules_review_status.rb +238 -0
- data/lib/kubernetes/models/v1beta1_token_review.rb +233 -0
- data/lib/kubernetes/models/v1beta1_token_review_spec.rb +201 -0
- data/lib/kubernetes/models/v1beta1_token_review_status.rb +221 -0
- data/lib/kubernetes/models/v1beta1_user_info.rb +223 -0
- data/lib/kubernetes/models/v1beta1_validating_webhook_configuration.rb +221 -0
- data/lib/kubernetes/models/v1beta1_validating_webhook_configuration_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment.rb +234 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment_source.rb +189 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment_spec.rb +224 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment_status.rb +226 -0
- data/lib/kubernetes/models/v1beta1_volume_error.rb +199 -0
- data/lib/kubernetes/models/v1beta1_webhook.rb +251 -0
- data/lib/kubernetes/models/v1beta2_controller_revision.rb +234 -0
- data/lib/kubernetes/models/v1beta2_controller_revision_list.rb +226 -0
- data/lib/kubernetes/models/v1beta2_daemon_set.rb +229 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_list.rb +226 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_spec.rb +239 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_status.rb +301 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_update_strategy.rb +199 -0
- data/lib/kubernetes/models/v1beta2_deployment.rb +229 -0
- data/lib/kubernetes/models/v1beta2_deployment_condition.rb +249 -0
- data/lib/kubernetes/models/v1beta2_deployment_list.rb +226 -0
- data/lib/kubernetes/models/v1beta2_deployment_spec.rb +269 -0
- data/lib/kubernetes/models/v1beta2_deployment_status.rb +261 -0
- data/lib/kubernetes/models/v1beta2_deployment_strategy.rb +199 -0
- data/lib/kubernetes/models/v1beta2_replica_set.rb +229 -0
- data/lib/kubernetes/models/v1beta2_replica_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta2_replica_set_list.rb +226 -0
- data/lib/kubernetes/models/v1beta2_replica_set_spec.rb +224 -0
- data/lib/kubernetes/models/v1beta2_replica_set_status.rb +246 -0
- data/lib/kubernetes/models/v1beta2_rolling_update_daemon_set.rb +189 -0
- data/lib/kubernetes/models/v1beta2_rolling_update_deployment.rb +199 -0
- data/lib/kubernetes/models/v1beta2_rolling_update_stateful_set_strategy.rb +189 -0
- data/lib/kubernetes/models/v1beta2_scale.rb +229 -0
- data/lib/kubernetes/models/v1beta2_scale_spec.rb +189 -0
- data/lib/kubernetes/models/v1beta2_scale_status.rb +216 -0
- data/lib/kubernetes/models/v1beta2_stateful_set.rb +228 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_list.rb +224 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_spec.rb +276 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_status.rb +276 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_update_strategy.rb +199 -0
- data/lib/kubernetes/models/v2alpha1_cron_job.rb +229 -0
- data/lib/kubernetes/models/v2alpha1_cron_job_list.rb +226 -0
- data/lib/kubernetes/models/v2alpha1_cron_job_spec.rb +259 -0
- data/lib/kubernetes/models/v2alpha1_cron_job_status.rb +201 -0
- data/lib/kubernetes/models/v2alpha1_job_template_spec.rb +199 -0
- data/lib/kubernetes/models/v2beta1_cross_version_object_reference.rb +219 -0
- data/lib/kubernetes/models/v2beta1_external_metric_source.rb +224 -0
- data/lib/kubernetes/models/v2beta1_external_metric_status.rb +229 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler.rb +229 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_condition.rb +239 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_list.rb +226 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_spec.rb +231 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_status.rb +258 -0
- data/lib/kubernetes/models/v2beta1_metric_spec.rb +234 -0
- data/lib/kubernetes/models/v2beta1_metric_status.rb +234 -0
- data/lib/kubernetes/models/v2beta1_object_metric_source.rb +244 -0
- data/lib/kubernetes/models/v2beta1_object_metric_status.rb +244 -0
- data/lib/kubernetes/models/v2beta1_pods_metric_source.rb +219 -0
- data/lib/kubernetes/models/v2beta1_pods_metric_status.rb +219 -0
- data/lib/kubernetes/models/v2beta1_resource_metric_source.rb +214 -0
- data/lib/kubernetes/models/v2beta1_resource_metric_status.rb +219 -0
- data/lib/kubernetes/models/v2beta2_cross_version_object_reference.rb +219 -0
- data/lib/kubernetes/models/v2beta2_external_metric_source.rb +209 -0
- data/lib/kubernetes/models/v2beta2_external_metric_status.rb +209 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler.rb +229 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_condition.rb +239 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_list.rb +226 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_spec.rb +231 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_status.rb +258 -0
- data/lib/kubernetes/models/v2beta2_metric_identifier.rb +204 -0
- data/lib/kubernetes/models/v2beta2_metric_spec.rb +234 -0
- data/lib/kubernetes/models/v2beta2_metric_status.rb +234 -0
- data/lib/kubernetes/models/v2beta2_metric_target.rb +224 -0
- data/lib/kubernetes/models/v2beta2_metric_value_status.rb +209 -0
- data/lib/kubernetes/models/v2beta2_object_metric_source.rb +223 -0
- data/lib/kubernetes/models/v2beta2_object_metric_status.rb +223 -0
- data/lib/kubernetes/models/v2beta2_pods_metric_source.rb +209 -0
- data/lib/kubernetes/models/v2beta2_pods_metric_status.rb +209 -0
- data/lib/kubernetes/models/v2beta2_resource_metric_source.rb +209 -0
- data/lib/kubernetes/models/v2beta2_resource_metric_status.rb +209 -0
- data/lib/kubernetes/models/version_info.rb +305 -0
- data/lib/kubernetes/version.rb +15 -0
- data/spec/config/incluster_config_spec.rb +144 -0
- data/spec/config/kube_config_spec.rb +319 -0
- data/spec/config/matchers.rb +29 -0
- data/spec/fixtures/config/kube_config_hash.rb +194 -0
- data/spec/fixtures/files/certs/ca.crt +27 -0
- data/spec/fixtures/files/certs/client.crt +28 -0
- data/spec/fixtures/files/certs/client.key +51 -0
- data/spec/fixtures/files/config/.kube/config +16 -0
- data/spec/fixtures/files/config/config +13 -0
- data/spec/fixtures/files/config/config_2 +15 -0
- data/spec/fixtures/files/config/empty +1 -0
- data/spec/fixtures/files/tokens/token +1 -0
- data/spec/helpers/file_fixtures.rb +41 -0
- data/spec/spec_helper.rb +108 -0
- data/spec/utils_spec.rb +118 -0
- data/spec/watch_spec.rb +36 -0
- data/src/kubernetes/config/error.rb +17 -0
- data/src/kubernetes/config/incluster_config.rb +80 -0
- data/src/kubernetes/config/kube_config.rb +171 -0
- data/src/kubernetes/loader.rb +55 -0
- data/src/kubernetes/utils.rb +92 -0
- data/src/kubernetes/watch.rb +51 -0
- data/swagger.json +89546 -0
- metadata +1541 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
# Kubernetes::AppsV1beta1Deployment
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional]
|
7
|
+
**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
|
8
|
+
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. | [optional]
|
9
|
+
**spec** | [**AppsV1beta1DeploymentSpec**](AppsV1beta1DeploymentSpec.md) | Specification of the desired behavior of the Deployment. | [optional]
|
10
|
+
**status** | [**AppsV1beta1DeploymentStatus**](AppsV1beta1DeploymentStatus.md) | Most recently observed status of the Deployment. | [optional]
|
11
|
+
|
12
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# Kubernetes::AppsV1beta1DeploymentCondition
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**last_transition_time** | **DateTime** | Last time the condition transitioned from one status to another. | [optional]
|
7
|
+
**last_update_time** | **DateTime** | The last time this condition was updated. | [optional]
|
8
|
+
**message** | **String** | A human readable message indicating details about the transition. | [optional]
|
9
|
+
**reason** | **String** | The reason for the condition's last transition. | [optional]
|
10
|
+
**status** | **String** | Status of the condition, one of True, False, Unknown. |
|
11
|
+
**type** | **String** | Type of deployment condition. |
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Kubernetes::AppsV1beta1DeploymentList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional]
|
7
|
+
**items** | [**Array<AppsV1beta1Deployment>**](AppsV1beta1Deployment.md) | Items is the list of Deployments. |
|
8
|
+
**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
|
9
|
+
**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Kubernetes::AppsV1beta1DeploymentRollback
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional]
|
7
|
+
**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
|
8
|
+
**name** | **String** | Required: This must match the Name of a deployment. |
|
9
|
+
**rollback_to** | [**AppsV1beta1RollbackConfig**](AppsV1beta1RollbackConfig.md) | The config of this deployment rollback. |
|
10
|
+
**updated_annotations** | **Hash<String, String>** | The annotations to be updated to a deployment | [optional]
|
11
|
+
|
12
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Kubernetes::AppsV1beta1DeploymentSpec
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**min_ready_seconds** | **Integer** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional]
|
7
|
+
**paused** | **BOOLEAN** | Indicates that the deployment is paused. | [optional]
|
8
|
+
**progress_deadline_seconds** | **Integer** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. | [optional]
|
9
|
+
**replicas** | **Integer** | Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional]
|
10
|
+
**revision_history_limit** | **Integer** | The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2. | [optional]
|
11
|
+
**rollback_to** | [**AppsV1beta1RollbackConfig**](AppsV1beta1RollbackConfig.md) | DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. | [optional]
|
12
|
+
**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. | [optional]
|
13
|
+
**strategy** | [**AppsV1beta1DeploymentStrategy**](AppsV1beta1DeploymentStrategy.md) | The deployment strategy to use to replace existing pods with new ones. | [optional]
|
14
|
+
**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template describes the pods that will be created. |
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Kubernetes::AppsV1beta1DeploymentStatus
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**available_replicas** | **Integer** | Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. | [optional]
|
7
|
+
**collision_count** | **Integer** | Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. | [optional]
|
8
|
+
**conditions** | [**Array<AppsV1beta1DeploymentCondition>**](AppsV1beta1DeploymentCondition.md) | Represents the latest available observations of a deployment's current state. | [optional]
|
9
|
+
**observed_generation** | **Integer** | The generation observed by the deployment controller. | [optional]
|
10
|
+
**ready_replicas** | **Integer** | Total number of ready pods targeted by this deployment. | [optional]
|
11
|
+
**replicas** | **Integer** | Total number of non-terminated pods targeted by this deployment (their labels match the selector). | [optional]
|
12
|
+
**unavailable_replicas** | **Integer** | Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. | [optional]
|
13
|
+
**updated_replicas** | **Integer** | Total number of non-terminated pods targeted by this deployment that have the desired template spec. | [optional]
|
14
|
+
|
15
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Kubernetes::AppsV1beta1DeploymentStrategy
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**rolling_update** | [**AppsV1beta1RollingUpdateDeployment**](AppsV1beta1RollingUpdateDeployment.md) | Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. | [optional]
|
7
|
+
**type** | **String** | Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Kubernetes::AppsV1beta1RollbackConfig
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**revision** | **Integer** | The revision to rollback to. If set to 0, rollback to the last revision. | [optional]
|
7
|
+
|
8
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Kubernetes::AppsV1beta1RollingUpdateDeployment
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**max_surge** | **Object** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional]
|
7
|
+
**max_unavailable** | **Object** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Kubernetes::AppsV1beta1Scale
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional]
|
7
|
+
**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
|
8
|
+
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. | [optional]
|
9
|
+
**spec** | [**AppsV1beta1ScaleSpec**](AppsV1beta1ScaleSpec.md) | defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. | [optional]
|
10
|
+
**status** | [**AppsV1beta1ScaleStatus**](AppsV1beta1ScaleStatus.md) | current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only. | [optional]
|
11
|
+
|
12
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Kubernetes::AppsV1beta1ScaleStatus
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**replicas** | **Integer** | actual number of observed instances of the scaled object. |
|
7
|
+
**selector** | **Hash<String, String>** | label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional]
|
8
|
+
**target_selector** | **String** | label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,4167 @@
|
|
1
|
+
# Kubernetes::AppsV1beta2Api
|
2
|
+
|
3
|
+
All URIs are relative to *https://localhost*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create_namespaced_controller_revision**](AppsV1beta2Api.md#create_namespaced_controller_revision) | **POST** /apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions |
|
8
|
+
[**create_namespaced_daemon_set**](AppsV1beta2Api.md#create_namespaced_daemon_set) | **POST** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets |
|
9
|
+
[**create_namespaced_deployment**](AppsV1beta2Api.md#create_namespaced_deployment) | **POST** /apis/apps/v1beta2/namespaces/{namespace}/deployments |
|
10
|
+
[**create_namespaced_replica_set**](AppsV1beta2Api.md#create_namespaced_replica_set) | **POST** /apis/apps/v1beta2/namespaces/{namespace}/replicasets |
|
11
|
+
[**create_namespaced_stateful_set**](AppsV1beta2Api.md#create_namespaced_stateful_set) | **POST** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets |
|
12
|
+
[**delete_collection_namespaced_controller_revision**](AppsV1beta2Api.md#delete_collection_namespaced_controller_revision) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions |
|
13
|
+
[**delete_collection_namespaced_daemon_set**](AppsV1beta2Api.md#delete_collection_namespaced_daemon_set) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets |
|
14
|
+
[**delete_collection_namespaced_deployment**](AppsV1beta2Api.md#delete_collection_namespaced_deployment) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/deployments |
|
15
|
+
[**delete_collection_namespaced_replica_set**](AppsV1beta2Api.md#delete_collection_namespaced_replica_set) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/replicasets |
|
16
|
+
[**delete_collection_namespaced_stateful_set**](AppsV1beta2Api.md#delete_collection_namespaced_stateful_set) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets |
|
17
|
+
[**delete_namespaced_controller_revision**](AppsV1beta2Api.md#delete_namespaced_controller_revision) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name} |
|
18
|
+
[**delete_namespaced_daemon_set**](AppsV1beta2Api.md#delete_namespaced_daemon_set) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name} |
|
19
|
+
[**delete_namespaced_deployment**](AppsV1beta2Api.md#delete_namespaced_deployment) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name} |
|
20
|
+
[**delete_namespaced_replica_set**](AppsV1beta2Api.md#delete_namespaced_replica_set) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name} |
|
21
|
+
[**delete_namespaced_stateful_set**](AppsV1beta2Api.md#delete_namespaced_stateful_set) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name} |
|
22
|
+
[**get_api_resources**](AppsV1beta2Api.md#get_api_resources) | **GET** /apis/apps/v1beta2/ |
|
23
|
+
[**list_controller_revision_for_all_namespaces**](AppsV1beta2Api.md#list_controller_revision_for_all_namespaces) | **GET** /apis/apps/v1beta2/controllerrevisions |
|
24
|
+
[**list_daemon_set_for_all_namespaces**](AppsV1beta2Api.md#list_daemon_set_for_all_namespaces) | **GET** /apis/apps/v1beta2/daemonsets |
|
25
|
+
[**list_deployment_for_all_namespaces**](AppsV1beta2Api.md#list_deployment_for_all_namespaces) | **GET** /apis/apps/v1beta2/deployments |
|
26
|
+
[**list_namespaced_controller_revision**](AppsV1beta2Api.md#list_namespaced_controller_revision) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions |
|
27
|
+
[**list_namespaced_daemon_set**](AppsV1beta2Api.md#list_namespaced_daemon_set) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets |
|
28
|
+
[**list_namespaced_deployment**](AppsV1beta2Api.md#list_namespaced_deployment) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/deployments |
|
29
|
+
[**list_namespaced_replica_set**](AppsV1beta2Api.md#list_namespaced_replica_set) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/replicasets |
|
30
|
+
[**list_namespaced_stateful_set**](AppsV1beta2Api.md#list_namespaced_stateful_set) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets |
|
31
|
+
[**list_replica_set_for_all_namespaces**](AppsV1beta2Api.md#list_replica_set_for_all_namespaces) | **GET** /apis/apps/v1beta2/replicasets |
|
32
|
+
[**list_stateful_set_for_all_namespaces**](AppsV1beta2Api.md#list_stateful_set_for_all_namespaces) | **GET** /apis/apps/v1beta2/statefulsets |
|
33
|
+
[**patch_namespaced_controller_revision**](AppsV1beta2Api.md#patch_namespaced_controller_revision) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name} |
|
34
|
+
[**patch_namespaced_daemon_set**](AppsV1beta2Api.md#patch_namespaced_daemon_set) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name} |
|
35
|
+
[**patch_namespaced_daemon_set_status**](AppsV1beta2Api.md#patch_namespaced_daemon_set_status) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status |
|
36
|
+
[**patch_namespaced_deployment**](AppsV1beta2Api.md#patch_namespaced_deployment) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name} |
|
37
|
+
[**patch_namespaced_deployment_scale**](AppsV1beta2Api.md#patch_namespaced_deployment_scale) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale |
|
38
|
+
[**patch_namespaced_deployment_status**](AppsV1beta2Api.md#patch_namespaced_deployment_status) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status |
|
39
|
+
[**patch_namespaced_replica_set**](AppsV1beta2Api.md#patch_namespaced_replica_set) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name} |
|
40
|
+
[**patch_namespaced_replica_set_scale**](AppsV1beta2Api.md#patch_namespaced_replica_set_scale) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale |
|
41
|
+
[**patch_namespaced_replica_set_status**](AppsV1beta2Api.md#patch_namespaced_replica_set_status) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status |
|
42
|
+
[**patch_namespaced_stateful_set**](AppsV1beta2Api.md#patch_namespaced_stateful_set) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name} |
|
43
|
+
[**patch_namespaced_stateful_set_scale**](AppsV1beta2Api.md#patch_namespaced_stateful_set_scale) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale |
|
44
|
+
[**patch_namespaced_stateful_set_status**](AppsV1beta2Api.md#patch_namespaced_stateful_set_status) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status |
|
45
|
+
[**read_namespaced_controller_revision**](AppsV1beta2Api.md#read_namespaced_controller_revision) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name} |
|
46
|
+
[**read_namespaced_daemon_set**](AppsV1beta2Api.md#read_namespaced_daemon_set) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name} |
|
47
|
+
[**read_namespaced_daemon_set_status**](AppsV1beta2Api.md#read_namespaced_daemon_set_status) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status |
|
48
|
+
[**read_namespaced_deployment**](AppsV1beta2Api.md#read_namespaced_deployment) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name} |
|
49
|
+
[**read_namespaced_deployment_scale**](AppsV1beta2Api.md#read_namespaced_deployment_scale) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale |
|
50
|
+
[**read_namespaced_deployment_status**](AppsV1beta2Api.md#read_namespaced_deployment_status) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status |
|
51
|
+
[**read_namespaced_replica_set**](AppsV1beta2Api.md#read_namespaced_replica_set) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name} |
|
52
|
+
[**read_namespaced_replica_set_scale**](AppsV1beta2Api.md#read_namespaced_replica_set_scale) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale |
|
53
|
+
[**read_namespaced_replica_set_status**](AppsV1beta2Api.md#read_namespaced_replica_set_status) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status |
|
54
|
+
[**read_namespaced_stateful_set**](AppsV1beta2Api.md#read_namespaced_stateful_set) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name} |
|
55
|
+
[**read_namespaced_stateful_set_scale**](AppsV1beta2Api.md#read_namespaced_stateful_set_scale) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale |
|
56
|
+
[**read_namespaced_stateful_set_status**](AppsV1beta2Api.md#read_namespaced_stateful_set_status) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status |
|
57
|
+
[**replace_namespaced_controller_revision**](AppsV1beta2Api.md#replace_namespaced_controller_revision) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name} |
|
58
|
+
[**replace_namespaced_daemon_set**](AppsV1beta2Api.md#replace_namespaced_daemon_set) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name} |
|
59
|
+
[**replace_namespaced_daemon_set_status**](AppsV1beta2Api.md#replace_namespaced_daemon_set_status) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status |
|
60
|
+
[**replace_namespaced_deployment**](AppsV1beta2Api.md#replace_namespaced_deployment) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name} |
|
61
|
+
[**replace_namespaced_deployment_scale**](AppsV1beta2Api.md#replace_namespaced_deployment_scale) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale |
|
62
|
+
[**replace_namespaced_deployment_status**](AppsV1beta2Api.md#replace_namespaced_deployment_status) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status |
|
63
|
+
[**replace_namespaced_replica_set**](AppsV1beta2Api.md#replace_namespaced_replica_set) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name} |
|
64
|
+
[**replace_namespaced_replica_set_scale**](AppsV1beta2Api.md#replace_namespaced_replica_set_scale) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale |
|
65
|
+
[**replace_namespaced_replica_set_status**](AppsV1beta2Api.md#replace_namespaced_replica_set_status) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status |
|
66
|
+
[**replace_namespaced_stateful_set**](AppsV1beta2Api.md#replace_namespaced_stateful_set) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name} |
|
67
|
+
[**replace_namespaced_stateful_set_scale**](AppsV1beta2Api.md#replace_namespaced_stateful_set_scale) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale |
|
68
|
+
[**replace_namespaced_stateful_set_status**](AppsV1beta2Api.md#replace_namespaced_stateful_set_status) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status |
|
69
|
+
|
70
|
+
|
71
|
+
# **create_namespaced_controller_revision**
|
72
|
+
> V1beta2ControllerRevision create_namespaced_controller_revision(namespacebody, opts)
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
create a ControllerRevision
|
77
|
+
|
78
|
+
### Example
|
79
|
+
```ruby
|
80
|
+
# load the gem
|
81
|
+
require 'kubernetes'
|
82
|
+
# setup authorization
|
83
|
+
Kubernetes.configure do |config|
|
84
|
+
# Configure API key authorization: BearerToken
|
85
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
86
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
87
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
88
|
+
end
|
89
|
+
|
90
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
91
|
+
|
92
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
93
|
+
|
94
|
+
body = Kubernetes::V1beta2ControllerRevision.new # V1beta2ControllerRevision |
|
95
|
+
|
96
|
+
opts = {
|
97
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
98
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
99
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
100
|
+
}
|
101
|
+
|
102
|
+
begin
|
103
|
+
result = api_instance.create_namespaced_controller_revision(namespacebody, opts)
|
104
|
+
p result
|
105
|
+
rescue Kubernetes::ApiError => e
|
106
|
+
puts "Exception when calling AppsV1beta2Api->create_namespaced_controller_revision: #{e}"
|
107
|
+
end
|
108
|
+
```
|
109
|
+
|
110
|
+
### Parameters
|
111
|
+
|
112
|
+
Name | Type | Description | Notes
|
113
|
+
------------- | ------------- | ------------- | -------------
|
114
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
115
|
+
**body** | [**V1beta2ControllerRevision**](V1beta2ControllerRevision.md)| |
|
116
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
117
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
118
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
119
|
+
|
120
|
+
### Return type
|
121
|
+
|
122
|
+
[**V1beta2ControllerRevision**](V1beta2ControllerRevision.md)
|
123
|
+
|
124
|
+
### Authorization
|
125
|
+
|
126
|
+
[BearerToken](../README.md#BearerToken)
|
127
|
+
|
128
|
+
### HTTP request headers
|
129
|
+
|
130
|
+
- **Content-Type**: */*
|
131
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
# **create_namespaced_daemon_set**
|
136
|
+
> V1beta2DaemonSet create_namespaced_daemon_set(namespacebody, opts)
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
create a DaemonSet
|
141
|
+
|
142
|
+
### Example
|
143
|
+
```ruby
|
144
|
+
# load the gem
|
145
|
+
require 'kubernetes'
|
146
|
+
# setup authorization
|
147
|
+
Kubernetes.configure do |config|
|
148
|
+
# Configure API key authorization: BearerToken
|
149
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
150
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
151
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
152
|
+
end
|
153
|
+
|
154
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
155
|
+
|
156
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
157
|
+
|
158
|
+
body = Kubernetes::V1beta2DaemonSet.new # V1beta2DaemonSet |
|
159
|
+
|
160
|
+
opts = {
|
161
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
162
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
163
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
164
|
+
}
|
165
|
+
|
166
|
+
begin
|
167
|
+
result = api_instance.create_namespaced_daemon_set(namespacebody, opts)
|
168
|
+
p result
|
169
|
+
rescue Kubernetes::ApiError => e
|
170
|
+
puts "Exception when calling AppsV1beta2Api->create_namespaced_daemon_set: #{e}"
|
171
|
+
end
|
172
|
+
```
|
173
|
+
|
174
|
+
### Parameters
|
175
|
+
|
176
|
+
Name | Type | Description | Notes
|
177
|
+
------------- | ------------- | ------------- | -------------
|
178
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
179
|
+
**body** | [**V1beta2DaemonSet**](V1beta2DaemonSet.md)| |
|
180
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
181
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
182
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
183
|
+
|
184
|
+
### Return type
|
185
|
+
|
186
|
+
[**V1beta2DaemonSet**](V1beta2DaemonSet.md)
|
187
|
+
|
188
|
+
### Authorization
|
189
|
+
|
190
|
+
[BearerToken](../README.md#BearerToken)
|
191
|
+
|
192
|
+
### HTTP request headers
|
193
|
+
|
194
|
+
- **Content-Type**: */*
|
195
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
# **create_namespaced_deployment**
|
200
|
+
> V1beta2Deployment create_namespaced_deployment(namespacebody, opts)
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
create a Deployment
|
205
|
+
|
206
|
+
### Example
|
207
|
+
```ruby
|
208
|
+
# load the gem
|
209
|
+
require 'kubernetes'
|
210
|
+
# setup authorization
|
211
|
+
Kubernetes.configure do |config|
|
212
|
+
# Configure API key authorization: BearerToken
|
213
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
214
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
215
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
216
|
+
end
|
217
|
+
|
218
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
219
|
+
|
220
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
221
|
+
|
222
|
+
body = Kubernetes::V1beta2Deployment.new # V1beta2Deployment |
|
223
|
+
|
224
|
+
opts = {
|
225
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
226
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
227
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
228
|
+
}
|
229
|
+
|
230
|
+
begin
|
231
|
+
result = api_instance.create_namespaced_deployment(namespacebody, opts)
|
232
|
+
p result
|
233
|
+
rescue Kubernetes::ApiError => e
|
234
|
+
puts "Exception when calling AppsV1beta2Api->create_namespaced_deployment: #{e}"
|
235
|
+
end
|
236
|
+
```
|
237
|
+
|
238
|
+
### Parameters
|
239
|
+
|
240
|
+
Name | Type | Description | Notes
|
241
|
+
------------- | ------------- | ------------- | -------------
|
242
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
243
|
+
**body** | [**V1beta2Deployment**](V1beta2Deployment.md)| |
|
244
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
245
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
246
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
247
|
+
|
248
|
+
### Return type
|
249
|
+
|
250
|
+
[**V1beta2Deployment**](V1beta2Deployment.md)
|
251
|
+
|
252
|
+
### Authorization
|
253
|
+
|
254
|
+
[BearerToken](../README.md#BearerToken)
|
255
|
+
|
256
|
+
### HTTP request headers
|
257
|
+
|
258
|
+
- **Content-Type**: */*
|
259
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
# **create_namespaced_replica_set**
|
264
|
+
> V1beta2ReplicaSet create_namespaced_replica_set(namespacebody, opts)
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
create a ReplicaSet
|
269
|
+
|
270
|
+
### Example
|
271
|
+
```ruby
|
272
|
+
# load the gem
|
273
|
+
require 'kubernetes'
|
274
|
+
# setup authorization
|
275
|
+
Kubernetes.configure do |config|
|
276
|
+
# Configure API key authorization: BearerToken
|
277
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
278
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
279
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
280
|
+
end
|
281
|
+
|
282
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
283
|
+
|
284
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
285
|
+
|
286
|
+
body = Kubernetes::V1beta2ReplicaSet.new # V1beta2ReplicaSet |
|
287
|
+
|
288
|
+
opts = {
|
289
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
290
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
291
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
292
|
+
}
|
293
|
+
|
294
|
+
begin
|
295
|
+
result = api_instance.create_namespaced_replica_set(namespacebody, opts)
|
296
|
+
p result
|
297
|
+
rescue Kubernetes::ApiError => e
|
298
|
+
puts "Exception when calling AppsV1beta2Api->create_namespaced_replica_set: #{e}"
|
299
|
+
end
|
300
|
+
```
|
301
|
+
|
302
|
+
### Parameters
|
303
|
+
|
304
|
+
Name | Type | Description | Notes
|
305
|
+
------------- | ------------- | ------------- | -------------
|
306
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
307
|
+
**body** | [**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)| |
|
308
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
309
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
310
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
311
|
+
|
312
|
+
### Return type
|
313
|
+
|
314
|
+
[**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)
|
315
|
+
|
316
|
+
### Authorization
|
317
|
+
|
318
|
+
[BearerToken](../README.md#BearerToken)
|
319
|
+
|
320
|
+
### HTTP request headers
|
321
|
+
|
322
|
+
- **Content-Type**: */*
|
323
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
# **create_namespaced_stateful_set**
|
328
|
+
> V1beta2StatefulSet create_namespaced_stateful_set(namespacebody, opts)
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
create a StatefulSet
|
333
|
+
|
334
|
+
### Example
|
335
|
+
```ruby
|
336
|
+
# load the gem
|
337
|
+
require 'kubernetes'
|
338
|
+
# setup authorization
|
339
|
+
Kubernetes.configure do |config|
|
340
|
+
# Configure API key authorization: BearerToken
|
341
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
342
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
343
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
344
|
+
end
|
345
|
+
|
346
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
347
|
+
|
348
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
349
|
+
|
350
|
+
body = Kubernetes::V1beta2StatefulSet.new # V1beta2StatefulSet |
|
351
|
+
|
352
|
+
opts = {
|
353
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
354
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
355
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
356
|
+
}
|
357
|
+
|
358
|
+
begin
|
359
|
+
result = api_instance.create_namespaced_stateful_set(namespacebody, opts)
|
360
|
+
p result
|
361
|
+
rescue Kubernetes::ApiError => e
|
362
|
+
puts "Exception when calling AppsV1beta2Api->create_namespaced_stateful_set: #{e}"
|
363
|
+
end
|
364
|
+
```
|
365
|
+
|
366
|
+
### Parameters
|
367
|
+
|
368
|
+
Name | Type | Description | Notes
|
369
|
+
------------- | ------------- | ------------- | -------------
|
370
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
371
|
+
**body** | [**V1beta2StatefulSet**](V1beta2StatefulSet.md)| |
|
372
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
373
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
374
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
375
|
+
|
376
|
+
### Return type
|
377
|
+
|
378
|
+
[**V1beta2StatefulSet**](V1beta2StatefulSet.md)
|
379
|
+
|
380
|
+
### Authorization
|
381
|
+
|
382
|
+
[BearerToken](../README.md#BearerToken)
|
383
|
+
|
384
|
+
### HTTP request headers
|
385
|
+
|
386
|
+
- **Content-Type**: */*
|
387
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
# **delete_collection_namespaced_controller_revision**
|
392
|
+
> V1Status delete_collection_namespaced_controller_revision(namespace, opts)
|
393
|
+
|
394
|
+
|
395
|
+
|
396
|
+
delete collection of ControllerRevision
|
397
|
+
|
398
|
+
### Example
|
399
|
+
```ruby
|
400
|
+
# load the gem
|
401
|
+
require 'kubernetes'
|
402
|
+
# setup authorization
|
403
|
+
Kubernetes.configure do |config|
|
404
|
+
# Configure API key authorization: BearerToken
|
405
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
406
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
407
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
408
|
+
end
|
409
|
+
|
410
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
411
|
+
|
412
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
413
|
+
|
414
|
+
opts = {
|
415
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
416
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
417
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
418
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
419
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
420
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
421
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
422
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
423
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
424
|
+
}
|
425
|
+
|
426
|
+
begin
|
427
|
+
result = api_instance.delete_collection_namespaced_controller_revision(namespace, opts)
|
428
|
+
p result
|
429
|
+
rescue Kubernetes::ApiError => e
|
430
|
+
puts "Exception when calling AppsV1beta2Api->delete_collection_namespaced_controller_revision: #{e}"
|
431
|
+
end
|
432
|
+
```
|
433
|
+
|
434
|
+
### Parameters
|
435
|
+
|
436
|
+
Name | Type | Description | Notes
|
437
|
+
------------- | ------------- | ------------- | -------------
|
438
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
439
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
440
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
441
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
442
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
443
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
444
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
445
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
446
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
447
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
448
|
+
|
449
|
+
### Return type
|
450
|
+
|
451
|
+
[**V1Status**](V1Status.md)
|
452
|
+
|
453
|
+
### Authorization
|
454
|
+
|
455
|
+
[BearerToken](../README.md#BearerToken)
|
456
|
+
|
457
|
+
### HTTP request headers
|
458
|
+
|
459
|
+
- **Content-Type**: */*
|
460
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
# **delete_collection_namespaced_daemon_set**
|
465
|
+
> V1Status delete_collection_namespaced_daemon_set(namespace, opts)
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
delete collection of DaemonSet
|
470
|
+
|
471
|
+
### Example
|
472
|
+
```ruby
|
473
|
+
# load the gem
|
474
|
+
require 'kubernetes'
|
475
|
+
# setup authorization
|
476
|
+
Kubernetes.configure do |config|
|
477
|
+
# Configure API key authorization: BearerToken
|
478
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
479
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
480
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
481
|
+
end
|
482
|
+
|
483
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
484
|
+
|
485
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
486
|
+
|
487
|
+
opts = {
|
488
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
489
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
490
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
491
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
492
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
493
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
494
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
495
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
496
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
497
|
+
}
|
498
|
+
|
499
|
+
begin
|
500
|
+
result = api_instance.delete_collection_namespaced_daemon_set(namespace, opts)
|
501
|
+
p result
|
502
|
+
rescue Kubernetes::ApiError => e
|
503
|
+
puts "Exception when calling AppsV1beta2Api->delete_collection_namespaced_daemon_set: #{e}"
|
504
|
+
end
|
505
|
+
```
|
506
|
+
|
507
|
+
### Parameters
|
508
|
+
|
509
|
+
Name | Type | Description | Notes
|
510
|
+
------------- | ------------- | ------------- | -------------
|
511
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
512
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
513
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
514
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
515
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
516
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
517
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
518
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
519
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
520
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
521
|
+
|
522
|
+
### Return type
|
523
|
+
|
524
|
+
[**V1Status**](V1Status.md)
|
525
|
+
|
526
|
+
### Authorization
|
527
|
+
|
528
|
+
[BearerToken](../README.md#BearerToken)
|
529
|
+
|
530
|
+
### HTTP request headers
|
531
|
+
|
532
|
+
- **Content-Type**: */*
|
533
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
534
|
+
|
535
|
+
|
536
|
+
|
537
|
+
# **delete_collection_namespaced_deployment**
|
538
|
+
> V1Status delete_collection_namespaced_deployment(namespace, opts)
|
539
|
+
|
540
|
+
|
541
|
+
|
542
|
+
delete collection of Deployment
|
543
|
+
|
544
|
+
### Example
|
545
|
+
```ruby
|
546
|
+
# load the gem
|
547
|
+
require 'kubernetes'
|
548
|
+
# setup authorization
|
549
|
+
Kubernetes.configure do |config|
|
550
|
+
# Configure API key authorization: BearerToken
|
551
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
552
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
553
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
554
|
+
end
|
555
|
+
|
556
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
557
|
+
|
558
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
559
|
+
|
560
|
+
opts = {
|
561
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
562
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
563
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
564
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
565
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
566
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
567
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
568
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
569
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
570
|
+
}
|
571
|
+
|
572
|
+
begin
|
573
|
+
result = api_instance.delete_collection_namespaced_deployment(namespace, opts)
|
574
|
+
p result
|
575
|
+
rescue Kubernetes::ApiError => e
|
576
|
+
puts "Exception when calling AppsV1beta2Api->delete_collection_namespaced_deployment: #{e}"
|
577
|
+
end
|
578
|
+
```
|
579
|
+
|
580
|
+
### Parameters
|
581
|
+
|
582
|
+
Name | Type | Description | Notes
|
583
|
+
------------- | ------------- | ------------- | -------------
|
584
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
585
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
586
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
587
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
588
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
589
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
590
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
591
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
592
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
593
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
594
|
+
|
595
|
+
### Return type
|
596
|
+
|
597
|
+
[**V1Status**](V1Status.md)
|
598
|
+
|
599
|
+
### Authorization
|
600
|
+
|
601
|
+
[BearerToken](../README.md#BearerToken)
|
602
|
+
|
603
|
+
### HTTP request headers
|
604
|
+
|
605
|
+
- **Content-Type**: */*
|
606
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
607
|
+
|
608
|
+
|
609
|
+
|
610
|
+
# **delete_collection_namespaced_replica_set**
|
611
|
+
> V1Status delete_collection_namespaced_replica_set(namespace, opts)
|
612
|
+
|
613
|
+
|
614
|
+
|
615
|
+
delete collection of ReplicaSet
|
616
|
+
|
617
|
+
### Example
|
618
|
+
```ruby
|
619
|
+
# load the gem
|
620
|
+
require 'kubernetes'
|
621
|
+
# setup authorization
|
622
|
+
Kubernetes.configure do |config|
|
623
|
+
# Configure API key authorization: BearerToken
|
624
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
625
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
626
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
627
|
+
end
|
628
|
+
|
629
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
630
|
+
|
631
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
632
|
+
|
633
|
+
opts = {
|
634
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
635
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
636
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
637
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
638
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
639
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
640
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
641
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
642
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
643
|
+
}
|
644
|
+
|
645
|
+
begin
|
646
|
+
result = api_instance.delete_collection_namespaced_replica_set(namespace, opts)
|
647
|
+
p result
|
648
|
+
rescue Kubernetes::ApiError => e
|
649
|
+
puts "Exception when calling AppsV1beta2Api->delete_collection_namespaced_replica_set: #{e}"
|
650
|
+
end
|
651
|
+
```
|
652
|
+
|
653
|
+
### Parameters
|
654
|
+
|
655
|
+
Name | Type | Description | Notes
|
656
|
+
------------- | ------------- | ------------- | -------------
|
657
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
658
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
659
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
660
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
661
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
662
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
663
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
664
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
665
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
666
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
667
|
+
|
668
|
+
### Return type
|
669
|
+
|
670
|
+
[**V1Status**](V1Status.md)
|
671
|
+
|
672
|
+
### Authorization
|
673
|
+
|
674
|
+
[BearerToken](../README.md#BearerToken)
|
675
|
+
|
676
|
+
### HTTP request headers
|
677
|
+
|
678
|
+
- **Content-Type**: */*
|
679
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
680
|
+
|
681
|
+
|
682
|
+
|
683
|
+
# **delete_collection_namespaced_stateful_set**
|
684
|
+
> V1Status delete_collection_namespaced_stateful_set(namespace, opts)
|
685
|
+
|
686
|
+
|
687
|
+
|
688
|
+
delete collection of StatefulSet
|
689
|
+
|
690
|
+
### Example
|
691
|
+
```ruby
|
692
|
+
# load the gem
|
693
|
+
require 'kubernetes'
|
694
|
+
# setup authorization
|
695
|
+
Kubernetes.configure do |config|
|
696
|
+
# Configure API key authorization: BearerToken
|
697
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
698
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
699
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
700
|
+
end
|
701
|
+
|
702
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
703
|
+
|
704
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
705
|
+
|
706
|
+
opts = {
|
707
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
708
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
709
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
710
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
711
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
712
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
713
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
714
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
715
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
716
|
+
}
|
717
|
+
|
718
|
+
begin
|
719
|
+
result = api_instance.delete_collection_namespaced_stateful_set(namespace, opts)
|
720
|
+
p result
|
721
|
+
rescue Kubernetes::ApiError => e
|
722
|
+
puts "Exception when calling AppsV1beta2Api->delete_collection_namespaced_stateful_set: #{e}"
|
723
|
+
end
|
724
|
+
```
|
725
|
+
|
726
|
+
### Parameters
|
727
|
+
|
728
|
+
Name | Type | Description | Notes
|
729
|
+
------------- | ------------- | ------------- | -------------
|
730
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
731
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
732
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
733
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
734
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
735
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
736
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
737
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
738
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
739
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
740
|
+
|
741
|
+
### Return type
|
742
|
+
|
743
|
+
[**V1Status**](V1Status.md)
|
744
|
+
|
745
|
+
### Authorization
|
746
|
+
|
747
|
+
[BearerToken](../README.md#BearerToken)
|
748
|
+
|
749
|
+
### HTTP request headers
|
750
|
+
|
751
|
+
- **Content-Type**: */*
|
752
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
753
|
+
|
754
|
+
|
755
|
+
|
756
|
+
# **delete_namespaced_controller_revision**
|
757
|
+
> V1Status delete_namespaced_controller_revision(name, namespace, , opts)
|
758
|
+
|
759
|
+
|
760
|
+
|
761
|
+
delete a ControllerRevision
|
762
|
+
|
763
|
+
### Example
|
764
|
+
```ruby
|
765
|
+
# load the gem
|
766
|
+
require 'kubernetes'
|
767
|
+
# setup authorization
|
768
|
+
Kubernetes.configure do |config|
|
769
|
+
# Configure API key authorization: BearerToken
|
770
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
771
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
772
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
773
|
+
end
|
774
|
+
|
775
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
776
|
+
|
777
|
+
name = "name_example" # String | name of the ControllerRevision
|
778
|
+
|
779
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
780
|
+
|
781
|
+
opts = {
|
782
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
783
|
+
body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions |
|
784
|
+
dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
785
|
+
grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
|
786
|
+
orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
787
|
+
propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
788
|
+
}
|
789
|
+
|
790
|
+
begin
|
791
|
+
result = api_instance.delete_namespaced_controller_revision(name, namespace, , opts)
|
792
|
+
p result
|
793
|
+
rescue Kubernetes::ApiError => e
|
794
|
+
puts "Exception when calling AppsV1beta2Api->delete_namespaced_controller_revision: #{e}"
|
795
|
+
end
|
796
|
+
```
|
797
|
+
|
798
|
+
### Parameters
|
799
|
+
|
800
|
+
Name | Type | Description | Notes
|
801
|
+
------------- | ------------- | ------------- | -------------
|
802
|
+
**name** | **String**| name of the ControllerRevision |
|
803
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
804
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
805
|
+
**body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional]
|
806
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
807
|
+
**grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
|
808
|
+
**orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
|
809
|
+
**propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional]
|
810
|
+
|
811
|
+
### Return type
|
812
|
+
|
813
|
+
[**V1Status**](V1Status.md)
|
814
|
+
|
815
|
+
### Authorization
|
816
|
+
|
817
|
+
[BearerToken](../README.md#BearerToken)
|
818
|
+
|
819
|
+
### HTTP request headers
|
820
|
+
|
821
|
+
- **Content-Type**: */*
|
822
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
823
|
+
|
824
|
+
|
825
|
+
|
826
|
+
# **delete_namespaced_daemon_set**
|
827
|
+
> V1Status delete_namespaced_daemon_set(name, namespace, , opts)
|
828
|
+
|
829
|
+
|
830
|
+
|
831
|
+
delete a DaemonSet
|
832
|
+
|
833
|
+
### Example
|
834
|
+
```ruby
|
835
|
+
# load the gem
|
836
|
+
require 'kubernetes'
|
837
|
+
# setup authorization
|
838
|
+
Kubernetes.configure do |config|
|
839
|
+
# Configure API key authorization: BearerToken
|
840
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
841
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
842
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
843
|
+
end
|
844
|
+
|
845
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
846
|
+
|
847
|
+
name = "name_example" # String | name of the DaemonSet
|
848
|
+
|
849
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
850
|
+
|
851
|
+
opts = {
|
852
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
853
|
+
body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions |
|
854
|
+
dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
855
|
+
grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
|
856
|
+
orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
857
|
+
propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
858
|
+
}
|
859
|
+
|
860
|
+
begin
|
861
|
+
result = api_instance.delete_namespaced_daemon_set(name, namespace, , opts)
|
862
|
+
p result
|
863
|
+
rescue Kubernetes::ApiError => e
|
864
|
+
puts "Exception when calling AppsV1beta2Api->delete_namespaced_daemon_set: #{e}"
|
865
|
+
end
|
866
|
+
```
|
867
|
+
|
868
|
+
### Parameters
|
869
|
+
|
870
|
+
Name | Type | Description | Notes
|
871
|
+
------------- | ------------- | ------------- | -------------
|
872
|
+
**name** | **String**| name of the DaemonSet |
|
873
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
874
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
875
|
+
**body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional]
|
876
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
877
|
+
**grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
|
878
|
+
**orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
|
879
|
+
**propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional]
|
880
|
+
|
881
|
+
### Return type
|
882
|
+
|
883
|
+
[**V1Status**](V1Status.md)
|
884
|
+
|
885
|
+
### Authorization
|
886
|
+
|
887
|
+
[BearerToken](../README.md#BearerToken)
|
888
|
+
|
889
|
+
### HTTP request headers
|
890
|
+
|
891
|
+
- **Content-Type**: */*
|
892
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
893
|
+
|
894
|
+
|
895
|
+
|
896
|
+
# **delete_namespaced_deployment**
|
897
|
+
> V1Status delete_namespaced_deployment(name, namespace, , opts)
|
898
|
+
|
899
|
+
|
900
|
+
|
901
|
+
delete a Deployment
|
902
|
+
|
903
|
+
### Example
|
904
|
+
```ruby
|
905
|
+
# load the gem
|
906
|
+
require 'kubernetes'
|
907
|
+
# setup authorization
|
908
|
+
Kubernetes.configure do |config|
|
909
|
+
# Configure API key authorization: BearerToken
|
910
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
911
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
912
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
913
|
+
end
|
914
|
+
|
915
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
916
|
+
|
917
|
+
name = "name_example" # String | name of the Deployment
|
918
|
+
|
919
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
920
|
+
|
921
|
+
opts = {
|
922
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
923
|
+
body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions |
|
924
|
+
dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
925
|
+
grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
|
926
|
+
orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
927
|
+
propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
928
|
+
}
|
929
|
+
|
930
|
+
begin
|
931
|
+
result = api_instance.delete_namespaced_deployment(name, namespace, , opts)
|
932
|
+
p result
|
933
|
+
rescue Kubernetes::ApiError => e
|
934
|
+
puts "Exception when calling AppsV1beta2Api->delete_namespaced_deployment: #{e}"
|
935
|
+
end
|
936
|
+
```
|
937
|
+
|
938
|
+
### Parameters
|
939
|
+
|
940
|
+
Name | Type | Description | Notes
|
941
|
+
------------- | ------------- | ------------- | -------------
|
942
|
+
**name** | **String**| name of the Deployment |
|
943
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
944
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
945
|
+
**body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional]
|
946
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
947
|
+
**grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
|
948
|
+
**orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
|
949
|
+
**propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional]
|
950
|
+
|
951
|
+
### Return type
|
952
|
+
|
953
|
+
[**V1Status**](V1Status.md)
|
954
|
+
|
955
|
+
### Authorization
|
956
|
+
|
957
|
+
[BearerToken](../README.md#BearerToken)
|
958
|
+
|
959
|
+
### HTTP request headers
|
960
|
+
|
961
|
+
- **Content-Type**: */*
|
962
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
963
|
+
|
964
|
+
|
965
|
+
|
966
|
+
# **delete_namespaced_replica_set**
|
967
|
+
> V1Status delete_namespaced_replica_set(name, namespace, , opts)
|
968
|
+
|
969
|
+
|
970
|
+
|
971
|
+
delete a ReplicaSet
|
972
|
+
|
973
|
+
### Example
|
974
|
+
```ruby
|
975
|
+
# load the gem
|
976
|
+
require 'kubernetes'
|
977
|
+
# setup authorization
|
978
|
+
Kubernetes.configure do |config|
|
979
|
+
# Configure API key authorization: BearerToken
|
980
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
981
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
982
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
983
|
+
end
|
984
|
+
|
985
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
986
|
+
|
987
|
+
name = "name_example" # String | name of the ReplicaSet
|
988
|
+
|
989
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
990
|
+
|
991
|
+
opts = {
|
992
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
993
|
+
body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions |
|
994
|
+
dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
995
|
+
grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
|
996
|
+
orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
997
|
+
propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
998
|
+
}
|
999
|
+
|
1000
|
+
begin
|
1001
|
+
result = api_instance.delete_namespaced_replica_set(name, namespace, , opts)
|
1002
|
+
p result
|
1003
|
+
rescue Kubernetes::ApiError => e
|
1004
|
+
puts "Exception when calling AppsV1beta2Api->delete_namespaced_replica_set: #{e}"
|
1005
|
+
end
|
1006
|
+
```
|
1007
|
+
|
1008
|
+
### Parameters
|
1009
|
+
|
1010
|
+
Name | Type | Description | Notes
|
1011
|
+
------------- | ------------- | ------------- | -------------
|
1012
|
+
**name** | **String**| name of the ReplicaSet |
|
1013
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
1014
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
1015
|
+
**body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional]
|
1016
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
1017
|
+
**grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
|
1018
|
+
**orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
|
1019
|
+
**propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional]
|
1020
|
+
|
1021
|
+
### Return type
|
1022
|
+
|
1023
|
+
[**V1Status**](V1Status.md)
|
1024
|
+
|
1025
|
+
### Authorization
|
1026
|
+
|
1027
|
+
[BearerToken](../README.md#BearerToken)
|
1028
|
+
|
1029
|
+
### HTTP request headers
|
1030
|
+
|
1031
|
+
- **Content-Type**: */*
|
1032
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
1033
|
+
|
1034
|
+
|
1035
|
+
|
1036
|
+
# **delete_namespaced_stateful_set**
|
1037
|
+
> V1Status delete_namespaced_stateful_set(name, namespace, , opts)
|
1038
|
+
|
1039
|
+
|
1040
|
+
|
1041
|
+
delete a StatefulSet
|
1042
|
+
|
1043
|
+
### Example
|
1044
|
+
```ruby
|
1045
|
+
# load the gem
|
1046
|
+
require 'kubernetes'
|
1047
|
+
# setup authorization
|
1048
|
+
Kubernetes.configure do |config|
|
1049
|
+
# Configure API key authorization: BearerToken
|
1050
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
1051
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1052
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
1056
|
+
|
1057
|
+
name = "name_example" # String | name of the StatefulSet
|
1058
|
+
|
1059
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
1060
|
+
|
1061
|
+
opts = {
|
1062
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
1063
|
+
body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions |
|
1064
|
+
dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
1065
|
+
grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
|
1066
|
+
orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
1067
|
+
propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
begin
|
1071
|
+
result = api_instance.delete_namespaced_stateful_set(name, namespace, , opts)
|
1072
|
+
p result
|
1073
|
+
rescue Kubernetes::ApiError => e
|
1074
|
+
puts "Exception when calling AppsV1beta2Api->delete_namespaced_stateful_set: #{e}"
|
1075
|
+
end
|
1076
|
+
```
|
1077
|
+
|
1078
|
+
### Parameters
|
1079
|
+
|
1080
|
+
Name | Type | Description | Notes
|
1081
|
+
------------- | ------------- | ------------- | -------------
|
1082
|
+
**name** | **String**| name of the StatefulSet |
|
1083
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
1084
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
1085
|
+
**body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional]
|
1086
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
1087
|
+
**grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
|
1088
|
+
**orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
|
1089
|
+
**propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional]
|
1090
|
+
|
1091
|
+
### Return type
|
1092
|
+
|
1093
|
+
[**V1Status**](V1Status.md)
|
1094
|
+
|
1095
|
+
### Authorization
|
1096
|
+
|
1097
|
+
[BearerToken](../README.md#BearerToken)
|
1098
|
+
|
1099
|
+
### HTTP request headers
|
1100
|
+
|
1101
|
+
- **Content-Type**: */*
|
1102
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
1103
|
+
|
1104
|
+
|
1105
|
+
|
1106
|
+
# **get_api_resources**
|
1107
|
+
> V1APIResourceList get_api_resources
|
1108
|
+
|
1109
|
+
|
1110
|
+
|
1111
|
+
get available resources
|
1112
|
+
|
1113
|
+
### Example
|
1114
|
+
```ruby
|
1115
|
+
# load the gem
|
1116
|
+
require 'kubernetes'
|
1117
|
+
# setup authorization
|
1118
|
+
Kubernetes.configure do |config|
|
1119
|
+
# Configure API key authorization: BearerToken
|
1120
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
1121
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1122
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
1126
|
+
|
1127
|
+
begin
|
1128
|
+
result = api_instance.get_api_resources
|
1129
|
+
p result
|
1130
|
+
rescue Kubernetes::ApiError => e
|
1131
|
+
puts "Exception when calling AppsV1beta2Api->get_api_resources: #{e}"
|
1132
|
+
end
|
1133
|
+
```
|
1134
|
+
|
1135
|
+
### Parameters
|
1136
|
+
This endpoint does not need any parameter.
|
1137
|
+
|
1138
|
+
### Return type
|
1139
|
+
|
1140
|
+
[**V1APIResourceList**](V1APIResourceList.md)
|
1141
|
+
|
1142
|
+
### Authorization
|
1143
|
+
|
1144
|
+
[BearerToken](../README.md#BearerToken)
|
1145
|
+
|
1146
|
+
### HTTP request headers
|
1147
|
+
|
1148
|
+
- **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
1149
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
1150
|
+
|
1151
|
+
|
1152
|
+
|
1153
|
+
# **list_controller_revision_for_all_namespaces**
|
1154
|
+
> V1beta2ControllerRevisionList list_controller_revision_for_all_namespaces(opts)
|
1155
|
+
|
1156
|
+
|
1157
|
+
|
1158
|
+
list or watch objects of kind ControllerRevision
|
1159
|
+
|
1160
|
+
### Example
|
1161
|
+
```ruby
|
1162
|
+
# load the gem
|
1163
|
+
require 'kubernetes'
|
1164
|
+
# setup authorization
|
1165
|
+
Kubernetes.configure do |config|
|
1166
|
+
# Configure API key authorization: BearerToken
|
1167
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
1168
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1169
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
1173
|
+
|
1174
|
+
opts = {
|
1175
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
1176
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
1177
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
1178
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
1179
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
1180
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
1181
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
1182
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
1183
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
1184
|
+
}
|
1185
|
+
|
1186
|
+
begin
|
1187
|
+
result = api_instance.list_controller_revision_for_all_namespaces(opts)
|
1188
|
+
p result
|
1189
|
+
rescue Kubernetes::ApiError => e
|
1190
|
+
puts "Exception when calling AppsV1beta2Api->list_controller_revision_for_all_namespaces: #{e}"
|
1191
|
+
end
|
1192
|
+
```
|
1193
|
+
|
1194
|
+
### Parameters
|
1195
|
+
|
1196
|
+
Name | Type | Description | Notes
|
1197
|
+
------------- | ------------- | ------------- | -------------
|
1198
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
1199
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
1200
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
1201
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
1202
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
1203
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
1204
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
1205
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
1206
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
1207
|
+
|
1208
|
+
### Return type
|
1209
|
+
|
1210
|
+
[**V1beta2ControllerRevisionList**](V1beta2ControllerRevisionList.md)
|
1211
|
+
|
1212
|
+
### Authorization
|
1213
|
+
|
1214
|
+
[BearerToken](../README.md#BearerToken)
|
1215
|
+
|
1216
|
+
### HTTP request headers
|
1217
|
+
|
1218
|
+
- **Content-Type**: */*
|
1219
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
|
1220
|
+
|
1221
|
+
|
1222
|
+
|
1223
|
+
# **list_daemon_set_for_all_namespaces**
|
1224
|
+
> V1beta2DaemonSetList list_daemon_set_for_all_namespaces(opts)
|
1225
|
+
|
1226
|
+
|
1227
|
+
|
1228
|
+
list or watch objects of kind DaemonSet
|
1229
|
+
|
1230
|
+
### Example
|
1231
|
+
```ruby
|
1232
|
+
# load the gem
|
1233
|
+
require 'kubernetes'
|
1234
|
+
# setup authorization
|
1235
|
+
Kubernetes.configure do |config|
|
1236
|
+
# Configure API key authorization: BearerToken
|
1237
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
1238
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1239
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
1240
|
+
end
|
1241
|
+
|
1242
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
1243
|
+
|
1244
|
+
opts = {
|
1245
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
1246
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
1247
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
1248
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
1249
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
1250
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
1251
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
1252
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
1253
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
1254
|
+
}
|
1255
|
+
|
1256
|
+
begin
|
1257
|
+
result = api_instance.list_daemon_set_for_all_namespaces(opts)
|
1258
|
+
p result
|
1259
|
+
rescue Kubernetes::ApiError => e
|
1260
|
+
puts "Exception when calling AppsV1beta2Api->list_daemon_set_for_all_namespaces: #{e}"
|
1261
|
+
end
|
1262
|
+
```
|
1263
|
+
|
1264
|
+
### Parameters
|
1265
|
+
|
1266
|
+
Name | Type | Description | Notes
|
1267
|
+
------------- | ------------- | ------------- | -------------
|
1268
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
1269
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
1270
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
1271
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
1272
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
1273
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
1274
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
1275
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
1276
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
1277
|
+
|
1278
|
+
### Return type
|
1279
|
+
|
1280
|
+
[**V1beta2DaemonSetList**](V1beta2DaemonSetList.md)
|
1281
|
+
|
1282
|
+
### Authorization
|
1283
|
+
|
1284
|
+
[BearerToken](../README.md#BearerToken)
|
1285
|
+
|
1286
|
+
### HTTP request headers
|
1287
|
+
|
1288
|
+
- **Content-Type**: */*
|
1289
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
|
1290
|
+
|
1291
|
+
|
1292
|
+
|
1293
|
+
# **list_deployment_for_all_namespaces**
|
1294
|
+
> V1beta2DeploymentList list_deployment_for_all_namespaces(opts)
|
1295
|
+
|
1296
|
+
|
1297
|
+
|
1298
|
+
list or watch objects of kind Deployment
|
1299
|
+
|
1300
|
+
### Example
|
1301
|
+
```ruby
|
1302
|
+
# load the gem
|
1303
|
+
require 'kubernetes'
|
1304
|
+
# setup authorization
|
1305
|
+
Kubernetes.configure do |config|
|
1306
|
+
# Configure API key authorization: BearerToken
|
1307
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
1308
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1309
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
1313
|
+
|
1314
|
+
opts = {
|
1315
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
1316
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
1317
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
1318
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
1319
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
1320
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
1321
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
1322
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
1323
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
1324
|
+
}
|
1325
|
+
|
1326
|
+
begin
|
1327
|
+
result = api_instance.list_deployment_for_all_namespaces(opts)
|
1328
|
+
p result
|
1329
|
+
rescue Kubernetes::ApiError => e
|
1330
|
+
puts "Exception when calling AppsV1beta2Api->list_deployment_for_all_namespaces: #{e}"
|
1331
|
+
end
|
1332
|
+
```
|
1333
|
+
|
1334
|
+
### Parameters
|
1335
|
+
|
1336
|
+
Name | Type | Description | Notes
|
1337
|
+
------------- | ------------- | ------------- | -------------
|
1338
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
1339
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
1340
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
1341
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
1342
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
1343
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
1344
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
1345
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
1346
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
1347
|
+
|
1348
|
+
### Return type
|
1349
|
+
|
1350
|
+
[**V1beta2DeploymentList**](V1beta2DeploymentList.md)
|
1351
|
+
|
1352
|
+
### Authorization
|
1353
|
+
|
1354
|
+
[BearerToken](../README.md#BearerToken)
|
1355
|
+
|
1356
|
+
### HTTP request headers
|
1357
|
+
|
1358
|
+
- **Content-Type**: */*
|
1359
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
|
1360
|
+
|
1361
|
+
|
1362
|
+
|
1363
|
+
# **list_namespaced_controller_revision**
|
1364
|
+
> V1beta2ControllerRevisionList list_namespaced_controller_revision(namespace, opts)
|
1365
|
+
|
1366
|
+
|
1367
|
+
|
1368
|
+
list or watch objects of kind ControllerRevision
|
1369
|
+
|
1370
|
+
### Example
|
1371
|
+
```ruby
|
1372
|
+
# load the gem
|
1373
|
+
require 'kubernetes'
|
1374
|
+
# setup authorization
|
1375
|
+
Kubernetes.configure do |config|
|
1376
|
+
# Configure API key authorization: BearerToken
|
1377
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
1378
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1379
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
1383
|
+
|
1384
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
1385
|
+
|
1386
|
+
opts = {
|
1387
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
1388
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
1389
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
1390
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
1391
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
1392
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
1393
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
1394
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
1395
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
begin
|
1399
|
+
result = api_instance.list_namespaced_controller_revision(namespace, opts)
|
1400
|
+
p result
|
1401
|
+
rescue Kubernetes::ApiError => e
|
1402
|
+
puts "Exception when calling AppsV1beta2Api->list_namespaced_controller_revision: #{e}"
|
1403
|
+
end
|
1404
|
+
```
|
1405
|
+
|
1406
|
+
### Parameters
|
1407
|
+
|
1408
|
+
Name | Type | Description | Notes
|
1409
|
+
------------- | ------------- | ------------- | -------------
|
1410
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
1411
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
1412
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
1413
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
1414
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
1415
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
1416
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
1417
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
1418
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
1419
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
1420
|
+
|
1421
|
+
### Return type
|
1422
|
+
|
1423
|
+
[**V1beta2ControllerRevisionList**](V1beta2ControllerRevisionList.md)
|
1424
|
+
|
1425
|
+
### Authorization
|
1426
|
+
|
1427
|
+
[BearerToken](../README.md#BearerToken)
|
1428
|
+
|
1429
|
+
### HTTP request headers
|
1430
|
+
|
1431
|
+
- **Content-Type**: */*
|
1432
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
|
1433
|
+
|
1434
|
+
|
1435
|
+
|
1436
|
+
# **list_namespaced_daemon_set**
|
1437
|
+
> V1beta2DaemonSetList list_namespaced_daemon_set(namespace, opts)
|
1438
|
+
|
1439
|
+
|
1440
|
+
|
1441
|
+
list or watch objects of kind DaemonSet
|
1442
|
+
|
1443
|
+
### Example
|
1444
|
+
```ruby
|
1445
|
+
# load the gem
|
1446
|
+
require 'kubernetes'
|
1447
|
+
# setup authorization
|
1448
|
+
Kubernetes.configure do |config|
|
1449
|
+
# Configure API key authorization: BearerToken
|
1450
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
1451
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1452
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
1453
|
+
end
|
1454
|
+
|
1455
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
1456
|
+
|
1457
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
1458
|
+
|
1459
|
+
opts = {
|
1460
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
1461
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
1462
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
1463
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
1464
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
1465
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
1466
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
1467
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
1468
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
1469
|
+
}
|
1470
|
+
|
1471
|
+
begin
|
1472
|
+
result = api_instance.list_namespaced_daemon_set(namespace, opts)
|
1473
|
+
p result
|
1474
|
+
rescue Kubernetes::ApiError => e
|
1475
|
+
puts "Exception when calling AppsV1beta2Api->list_namespaced_daemon_set: #{e}"
|
1476
|
+
end
|
1477
|
+
```
|
1478
|
+
|
1479
|
+
### Parameters
|
1480
|
+
|
1481
|
+
Name | Type | Description | Notes
|
1482
|
+
------------- | ------------- | ------------- | -------------
|
1483
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
1484
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
1485
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
1486
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
1487
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
1488
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
1489
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
1490
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
1491
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
1492
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
1493
|
+
|
1494
|
+
### Return type
|
1495
|
+
|
1496
|
+
[**V1beta2DaemonSetList**](V1beta2DaemonSetList.md)
|
1497
|
+
|
1498
|
+
### Authorization
|
1499
|
+
|
1500
|
+
[BearerToken](../README.md#BearerToken)
|
1501
|
+
|
1502
|
+
### HTTP request headers
|
1503
|
+
|
1504
|
+
- **Content-Type**: */*
|
1505
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
|
1506
|
+
|
1507
|
+
|
1508
|
+
|
1509
|
+
# **list_namespaced_deployment**
|
1510
|
+
> V1beta2DeploymentList list_namespaced_deployment(namespace, opts)
|
1511
|
+
|
1512
|
+
|
1513
|
+
|
1514
|
+
list or watch objects of kind Deployment
|
1515
|
+
|
1516
|
+
### Example
|
1517
|
+
```ruby
|
1518
|
+
# load the gem
|
1519
|
+
require 'kubernetes'
|
1520
|
+
# setup authorization
|
1521
|
+
Kubernetes.configure do |config|
|
1522
|
+
# Configure API key authorization: BearerToken
|
1523
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
1524
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1525
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
1526
|
+
end
|
1527
|
+
|
1528
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
1529
|
+
|
1530
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
1531
|
+
|
1532
|
+
opts = {
|
1533
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
1534
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
1535
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
1536
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
1537
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
1538
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
1539
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
1540
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
1541
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
1542
|
+
}
|
1543
|
+
|
1544
|
+
begin
|
1545
|
+
result = api_instance.list_namespaced_deployment(namespace, opts)
|
1546
|
+
p result
|
1547
|
+
rescue Kubernetes::ApiError => e
|
1548
|
+
puts "Exception when calling AppsV1beta2Api->list_namespaced_deployment: #{e}"
|
1549
|
+
end
|
1550
|
+
```
|
1551
|
+
|
1552
|
+
### Parameters
|
1553
|
+
|
1554
|
+
Name | Type | Description | Notes
|
1555
|
+
------------- | ------------- | ------------- | -------------
|
1556
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
1557
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
1558
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
1559
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
1560
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
1561
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
1562
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
1563
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
1564
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
1565
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
1566
|
+
|
1567
|
+
### Return type
|
1568
|
+
|
1569
|
+
[**V1beta2DeploymentList**](V1beta2DeploymentList.md)
|
1570
|
+
|
1571
|
+
### Authorization
|
1572
|
+
|
1573
|
+
[BearerToken](../README.md#BearerToken)
|
1574
|
+
|
1575
|
+
### HTTP request headers
|
1576
|
+
|
1577
|
+
- **Content-Type**: */*
|
1578
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
|
1579
|
+
|
1580
|
+
|
1581
|
+
|
1582
|
+
# **list_namespaced_replica_set**
|
1583
|
+
> V1beta2ReplicaSetList list_namespaced_replica_set(namespace, opts)
|
1584
|
+
|
1585
|
+
|
1586
|
+
|
1587
|
+
list or watch objects of kind ReplicaSet
|
1588
|
+
|
1589
|
+
### Example
|
1590
|
+
```ruby
|
1591
|
+
# load the gem
|
1592
|
+
require 'kubernetes'
|
1593
|
+
# setup authorization
|
1594
|
+
Kubernetes.configure do |config|
|
1595
|
+
# Configure API key authorization: BearerToken
|
1596
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
1597
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1598
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
1599
|
+
end
|
1600
|
+
|
1601
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
1602
|
+
|
1603
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
1604
|
+
|
1605
|
+
opts = {
|
1606
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
1607
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
1608
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
1609
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
1610
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
1611
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
1612
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
1613
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
1614
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
1615
|
+
}
|
1616
|
+
|
1617
|
+
begin
|
1618
|
+
result = api_instance.list_namespaced_replica_set(namespace, opts)
|
1619
|
+
p result
|
1620
|
+
rescue Kubernetes::ApiError => e
|
1621
|
+
puts "Exception when calling AppsV1beta2Api->list_namespaced_replica_set: #{e}"
|
1622
|
+
end
|
1623
|
+
```
|
1624
|
+
|
1625
|
+
### Parameters
|
1626
|
+
|
1627
|
+
Name | Type | Description | Notes
|
1628
|
+
------------- | ------------- | ------------- | -------------
|
1629
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
1630
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
1631
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
1632
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
1633
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
1634
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
1635
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
1636
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
1637
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
1638
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
1639
|
+
|
1640
|
+
### Return type
|
1641
|
+
|
1642
|
+
[**V1beta2ReplicaSetList**](V1beta2ReplicaSetList.md)
|
1643
|
+
|
1644
|
+
### Authorization
|
1645
|
+
|
1646
|
+
[BearerToken](../README.md#BearerToken)
|
1647
|
+
|
1648
|
+
### HTTP request headers
|
1649
|
+
|
1650
|
+
- **Content-Type**: */*
|
1651
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
|
1652
|
+
|
1653
|
+
|
1654
|
+
|
1655
|
+
# **list_namespaced_stateful_set**
|
1656
|
+
> V1beta2StatefulSetList list_namespaced_stateful_set(namespace, opts)
|
1657
|
+
|
1658
|
+
|
1659
|
+
|
1660
|
+
list or watch objects of kind StatefulSet
|
1661
|
+
|
1662
|
+
### Example
|
1663
|
+
```ruby
|
1664
|
+
# load the gem
|
1665
|
+
require 'kubernetes'
|
1666
|
+
# setup authorization
|
1667
|
+
Kubernetes.configure do |config|
|
1668
|
+
# Configure API key authorization: BearerToken
|
1669
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
1670
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1671
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
1672
|
+
end
|
1673
|
+
|
1674
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
1675
|
+
|
1676
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
1677
|
+
|
1678
|
+
opts = {
|
1679
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
1680
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
1681
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
1682
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
1683
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
1684
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
1685
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
1686
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
1687
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
1688
|
+
}
|
1689
|
+
|
1690
|
+
begin
|
1691
|
+
result = api_instance.list_namespaced_stateful_set(namespace, opts)
|
1692
|
+
p result
|
1693
|
+
rescue Kubernetes::ApiError => e
|
1694
|
+
puts "Exception when calling AppsV1beta2Api->list_namespaced_stateful_set: #{e}"
|
1695
|
+
end
|
1696
|
+
```
|
1697
|
+
|
1698
|
+
### Parameters
|
1699
|
+
|
1700
|
+
Name | Type | Description | Notes
|
1701
|
+
------------- | ------------- | ------------- | -------------
|
1702
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
1703
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
1704
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
1705
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
1706
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
1707
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
1708
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
1709
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
1710
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
1711
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
1712
|
+
|
1713
|
+
### Return type
|
1714
|
+
|
1715
|
+
[**V1beta2StatefulSetList**](V1beta2StatefulSetList.md)
|
1716
|
+
|
1717
|
+
### Authorization
|
1718
|
+
|
1719
|
+
[BearerToken](../README.md#BearerToken)
|
1720
|
+
|
1721
|
+
### HTTP request headers
|
1722
|
+
|
1723
|
+
- **Content-Type**: */*
|
1724
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
|
1725
|
+
|
1726
|
+
|
1727
|
+
|
1728
|
+
# **list_replica_set_for_all_namespaces**
|
1729
|
+
> V1beta2ReplicaSetList list_replica_set_for_all_namespaces(opts)
|
1730
|
+
|
1731
|
+
|
1732
|
+
|
1733
|
+
list or watch objects of kind ReplicaSet
|
1734
|
+
|
1735
|
+
### Example
|
1736
|
+
```ruby
|
1737
|
+
# load the gem
|
1738
|
+
require 'kubernetes'
|
1739
|
+
# setup authorization
|
1740
|
+
Kubernetes.configure do |config|
|
1741
|
+
# Configure API key authorization: BearerToken
|
1742
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
1743
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1744
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
1745
|
+
end
|
1746
|
+
|
1747
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
1748
|
+
|
1749
|
+
opts = {
|
1750
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
1751
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
1752
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
1753
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
1754
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
1755
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
1756
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
1757
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
1758
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
1759
|
+
}
|
1760
|
+
|
1761
|
+
begin
|
1762
|
+
result = api_instance.list_replica_set_for_all_namespaces(opts)
|
1763
|
+
p result
|
1764
|
+
rescue Kubernetes::ApiError => e
|
1765
|
+
puts "Exception when calling AppsV1beta2Api->list_replica_set_for_all_namespaces: #{e}"
|
1766
|
+
end
|
1767
|
+
```
|
1768
|
+
|
1769
|
+
### Parameters
|
1770
|
+
|
1771
|
+
Name | Type | Description | Notes
|
1772
|
+
------------- | ------------- | ------------- | -------------
|
1773
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
1774
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
1775
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
1776
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
1777
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
1778
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
1779
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
1780
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
1781
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
1782
|
+
|
1783
|
+
### Return type
|
1784
|
+
|
1785
|
+
[**V1beta2ReplicaSetList**](V1beta2ReplicaSetList.md)
|
1786
|
+
|
1787
|
+
### Authorization
|
1788
|
+
|
1789
|
+
[BearerToken](../README.md#BearerToken)
|
1790
|
+
|
1791
|
+
### HTTP request headers
|
1792
|
+
|
1793
|
+
- **Content-Type**: */*
|
1794
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
|
1795
|
+
|
1796
|
+
|
1797
|
+
|
1798
|
+
# **list_stateful_set_for_all_namespaces**
|
1799
|
+
> V1beta2StatefulSetList list_stateful_set_for_all_namespaces(opts)
|
1800
|
+
|
1801
|
+
|
1802
|
+
|
1803
|
+
list or watch objects of kind StatefulSet
|
1804
|
+
|
1805
|
+
### Example
|
1806
|
+
```ruby
|
1807
|
+
# load the gem
|
1808
|
+
require 'kubernetes'
|
1809
|
+
# setup authorization
|
1810
|
+
Kubernetes.configure do |config|
|
1811
|
+
# Configure API key authorization: BearerToken
|
1812
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
1813
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1814
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
1815
|
+
end
|
1816
|
+
|
1817
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
1818
|
+
|
1819
|
+
opts = {
|
1820
|
+
continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
1821
|
+
field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
1822
|
+
include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response.
|
1823
|
+
label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
1824
|
+
limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
1825
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
1826
|
+
resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
1827
|
+
timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
1828
|
+
watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
1829
|
+
}
|
1830
|
+
|
1831
|
+
begin
|
1832
|
+
result = api_instance.list_stateful_set_for_all_namespaces(opts)
|
1833
|
+
p result
|
1834
|
+
rescue Kubernetes::ApiError => e
|
1835
|
+
puts "Exception when calling AppsV1beta2Api->list_stateful_set_for_all_namespaces: #{e}"
|
1836
|
+
end
|
1837
|
+
```
|
1838
|
+
|
1839
|
+
### Parameters
|
1840
|
+
|
1841
|
+
Name | Type | Description | Notes
|
1842
|
+
------------- | ------------- | ------------- | -------------
|
1843
|
+
**continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
|
1844
|
+
**field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
|
1845
|
+
**include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional]
|
1846
|
+
**label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
|
1847
|
+
**limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
|
1848
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
1849
|
+
**resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
|
1850
|
+
**timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional]
|
1851
|
+
**watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
|
1852
|
+
|
1853
|
+
### Return type
|
1854
|
+
|
1855
|
+
[**V1beta2StatefulSetList**](V1beta2StatefulSetList.md)
|
1856
|
+
|
1857
|
+
### Authorization
|
1858
|
+
|
1859
|
+
[BearerToken](../README.md#BearerToken)
|
1860
|
+
|
1861
|
+
### HTTP request headers
|
1862
|
+
|
1863
|
+
- **Content-Type**: */*
|
1864
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
|
1865
|
+
|
1866
|
+
|
1867
|
+
|
1868
|
+
# **patch_namespaced_controller_revision**
|
1869
|
+
> V1beta2ControllerRevision patch_namespaced_controller_revision(name, namespace, body, opts)
|
1870
|
+
|
1871
|
+
|
1872
|
+
|
1873
|
+
partially update the specified ControllerRevision
|
1874
|
+
|
1875
|
+
### Example
|
1876
|
+
```ruby
|
1877
|
+
# load the gem
|
1878
|
+
require 'kubernetes'
|
1879
|
+
# setup authorization
|
1880
|
+
Kubernetes.configure do |config|
|
1881
|
+
# Configure API key authorization: BearerToken
|
1882
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
1883
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1884
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
1885
|
+
end
|
1886
|
+
|
1887
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
1888
|
+
|
1889
|
+
name = "name_example" # String | name of the ControllerRevision
|
1890
|
+
|
1891
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
1892
|
+
|
1893
|
+
body = nil # Object |
|
1894
|
+
|
1895
|
+
opts = {
|
1896
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
1897
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
1898
|
+
}
|
1899
|
+
|
1900
|
+
begin
|
1901
|
+
result = api_instance.patch_namespaced_controller_revision(name, namespace, body, opts)
|
1902
|
+
p result
|
1903
|
+
rescue Kubernetes::ApiError => e
|
1904
|
+
puts "Exception when calling AppsV1beta2Api->patch_namespaced_controller_revision: #{e}"
|
1905
|
+
end
|
1906
|
+
```
|
1907
|
+
|
1908
|
+
### Parameters
|
1909
|
+
|
1910
|
+
Name | Type | Description | Notes
|
1911
|
+
------------- | ------------- | ------------- | -------------
|
1912
|
+
**name** | **String**| name of the ControllerRevision |
|
1913
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
1914
|
+
**body** | **Object**| |
|
1915
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
1916
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
1917
|
+
|
1918
|
+
### Return type
|
1919
|
+
|
1920
|
+
[**V1beta2ControllerRevision**](V1beta2ControllerRevision.md)
|
1921
|
+
|
1922
|
+
### Authorization
|
1923
|
+
|
1924
|
+
[BearerToken](../README.md#BearerToken)
|
1925
|
+
|
1926
|
+
### HTTP request headers
|
1927
|
+
|
1928
|
+
- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
|
1929
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
1930
|
+
|
1931
|
+
|
1932
|
+
|
1933
|
+
# **patch_namespaced_daemon_set**
|
1934
|
+
> V1beta2DaemonSet patch_namespaced_daemon_set(name, namespace, body, opts)
|
1935
|
+
|
1936
|
+
|
1937
|
+
|
1938
|
+
partially update the specified DaemonSet
|
1939
|
+
|
1940
|
+
### Example
|
1941
|
+
```ruby
|
1942
|
+
# load the gem
|
1943
|
+
require 'kubernetes'
|
1944
|
+
# setup authorization
|
1945
|
+
Kubernetes.configure do |config|
|
1946
|
+
# Configure API key authorization: BearerToken
|
1947
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
1948
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1949
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
1950
|
+
end
|
1951
|
+
|
1952
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
1953
|
+
|
1954
|
+
name = "name_example" # String | name of the DaemonSet
|
1955
|
+
|
1956
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
1957
|
+
|
1958
|
+
body = nil # Object |
|
1959
|
+
|
1960
|
+
opts = {
|
1961
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
1962
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
1963
|
+
}
|
1964
|
+
|
1965
|
+
begin
|
1966
|
+
result = api_instance.patch_namespaced_daemon_set(name, namespace, body, opts)
|
1967
|
+
p result
|
1968
|
+
rescue Kubernetes::ApiError => e
|
1969
|
+
puts "Exception when calling AppsV1beta2Api->patch_namespaced_daemon_set: #{e}"
|
1970
|
+
end
|
1971
|
+
```
|
1972
|
+
|
1973
|
+
### Parameters
|
1974
|
+
|
1975
|
+
Name | Type | Description | Notes
|
1976
|
+
------------- | ------------- | ------------- | -------------
|
1977
|
+
**name** | **String**| name of the DaemonSet |
|
1978
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
1979
|
+
**body** | **Object**| |
|
1980
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
1981
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
1982
|
+
|
1983
|
+
### Return type
|
1984
|
+
|
1985
|
+
[**V1beta2DaemonSet**](V1beta2DaemonSet.md)
|
1986
|
+
|
1987
|
+
### Authorization
|
1988
|
+
|
1989
|
+
[BearerToken](../README.md#BearerToken)
|
1990
|
+
|
1991
|
+
### HTTP request headers
|
1992
|
+
|
1993
|
+
- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
|
1994
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
1995
|
+
|
1996
|
+
|
1997
|
+
|
1998
|
+
# **patch_namespaced_daemon_set_status**
|
1999
|
+
> V1beta2DaemonSet patch_namespaced_daemon_set_status(name, namespace, body, opts)
|
2000
|
+
|
2001
|
+
|
2002
|
+
|
2003
|
+
partially update status of the specified DaemonSet
|
2004
|
+
|
2005
|
+
### Example
|
2006
|
+
```ruby
|
2007
|
+
# load the gem
|
2008
|
+
require 'kubernetes'
|
2009
|
+
# setup authorization
|
2010
|
+
Kubernetes.configure do |config|
|
2011
|
+
# Configure API key authorization: BearerToken
|
2012
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2013
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2014
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2015
|
+
end
|
2016
|
+
|
2017
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2018
|
+
|
2019
|
+
name = "name_example" # String | name of the DaemonSet
|
2020
|
+
|
2021
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2022
|
+
|
2023
|
+
body = nil # Object |
|
2024
|
+
|
2025
|
+
opts = {
|
2026
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2027
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
2028
|
+
}
|
2029
|
+
|
2030
|
+
begin
|
2031
|
+
result = api_instance.patch_namespaced_daemon_set_status(name, namespace, body, opts)
|
2032
|
+
p result
|
2033
|
+
rescue Kubernetes::ApiError => e
|
2034
|
+
puts "Exception when calling AppsV1beta2Api->patch_namespaced_daemon_set_status: #{e}"
|
2035
|
+
end
|
2036
|
+
```
|
2037
|
+
|
2038
|
+
### Parameters
|
2039
|
+
|
2040
|
+
Name | Type | Description | Notes
|
2041
|
+
------------- | ------------- | ------------- | -------------
|
2042
|
+
**name** | **String**| name of the DaemonSet |
|
2043
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2044
|
+
**body** | **Object**| |
|
2045
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2046
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
2047
|
+
|
2048
|
+
### Return type
|
2049
|
+
|
2050
|
+
[**V1beta2DaemonSet**](V1beta2DaemonSet.md)
|
2051
|
+
|
2052
|
+
### Authorization
|
2053
|
+
|
2054
|
+
[BearerToken](../README.md#BearerToken)
|
2055
|
+
|
2056
|
+
### HTTP request headers
|
2057
|
+
|
2058
|
+
- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
|
2059
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2060
|
+
|
2061
|
+
|
2062
|
+
|
2063
|
+
# **patch_namespaced_deployment**
|
2064
|
+
> V1beta2Deployment patch_namespaced_deployment(name, namespace, body, opts)
|
2065
|
+
|
2066
|
+
|
2067
|
+
|
2068
|
+
partially update the specified Deployment
|
2069
|
+
|
2070
|
+
### Example
|
2071
|
+
```ruby
|
2072
|
+
# load the gem
|
2073
|
+
require 'kubernetes'
|
2074
|
+
# setup authorization
|
2075
|
+
Kubernetes.configure do |config|
|
2076
|
+
# Configure API key authorization: BearerToken
|
2077
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2078
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2079
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2080
|
+
end
|
2081
|
+
|
2082
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2083
|
+
|
2084
|
+
name = "name_example" # String | name of the Deployment
|
2085
|
+
|
2086
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2087
|
+
|
2088
|
+
body = nil # Object |
|
2089
|
+
|
2090
|
+
opts = {
|
2091
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2092
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
2093
|
+
}
|
2094
|
+
|
2095
|
+
begin
|
2096
|
+
result = api_instance.patch_namespaced_deployment(name, namespace, body, opts)
|
2097
|
+
p result
|
2098
|
+
rescue Kubernetes::ApiError => e
|
2099
|
+
puts "Exception when calling AppsV1beta2Api->patch_namespaced_deployment: #{e}"
|
2100
|
+
end
|
2101
|
+
```
|
2102
|
+
|
2103
|
+
### Parameters
|
2104
|
+
|
2105
|
+
Name | Type | Description | Notes
|
2106
|
+
------------- | ------------- | ------------- | -------------
|
2107
|
+
**name** | **String**| name of the Deployment |
|
2108
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2109
|
+
**body** | **Object**| |
|
2110
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2111
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
2112
|
+
|
2113
|
+
### Return type
|
2114
|
+
|
2115
|
+
[**V1beta2Deployment**](V1beta2Deployment.md)
|
2116
|
+
|
2117
|
+
### Authorization
|
2118
|
+
|
2119
|
+
[BearerToken](../README.md#BearerToken)
|
2120
|
+
|
2121
|
+
### HTTP request headers
|
2122
|
+
|
2123
|
+
- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
|
2124
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2125
|
+
|
2126
|
+
|
2127
|
+
|
2128
|
+
# **patch_namespaced_deployment_scale**
|
2129
|
+
> V1beta2Scale patch_namespaced_deployment_scale(name, namespace, body, opts)
|
2130
|
+
|
2131
|
+
|
2132
|
+
|
2133
|
+
partially update scale of the specified Deployment
|
2134
|
+
|
2135
|
+
### Example
|
2136
|
+
```ruby
|
2137
|
+
# load the gem
|
2138
|
+
require 'kubernetes'
|
2139
|
+
# setup authorization
|
2140
|
+
Kubernetes.configure do |config|
|
2141
|
+
# Configure API key authorization: BearerToken
|
2142
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2143
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2144
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2145
|
+
end
|
2146
|
+
|
2147
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2148
|
+
|
2149
|
+
name = "name_example" # String | name of the Scale
|
2150
|
+
|
2151
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2152
|
+
|
2153
|
+
body = nil # Object |
|
2154
|
+
|
2155
|
+
opts = {
|
2156
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2157
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
2158
|
+
}
|
2159
|
+
|
2160
|
+
begin
|
2161
|
+
result = api_instance.patch_namespaced_deployment_scale(name, namespace, body, opts)
|
2162
|
+
p result
|
2163
|
+
rescue Kubernetes::ApiError => e
|
2164
|
+
puts "Exception when calling AppsV1beta2Api->patch_namespaced_deployment_scale: #{e}"
|
2165
|
+
end
|
2166
|
+
```
|
2167
|
+
|
2168
|
+
### Parameters
|
2169
|
+
|
2170
|
+
Name | Type | Description | Notes
|
2171
|
+
------------- | ------------- | ------------- | -------------
|
2172
|
+
**name** | **String**| name of the Scale |
|
2173
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2174
|
+
**body** | **Object**| |
|
2175
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2176
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
2177
|
+
|
2178
|
+
### Return type
|
2179
|
+
|
2180
|
+
[**V1beta2Scale**](V1beta2Scale.md)
|
2181
|
+
|
2182
|
+
### Authorization
|
2183
|
+
|
2184
|
+
[BearerToken](../README.md#BearerToken)
|
2185
|
+
|
2186
|
+
### HTTP request headers
|
2187
|
+
|
2188
|
+
- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
|
2189
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2190
|
+
|
2191
|
+
|
2192
|
+
|
2193
|
+
# **patch_namespaced_deployment_status**
|
2194
|
+
> V1beta2Deployment patch_namespaced_deployment_status(name, namespace, body, opts)
|
2195
|
+
|
2196
|
+
|
2197
|
+
|
2198
|
+
partially update status of the specified Deployment
|
2199
|
+
|
2200
|
+
### Example
|
2201
|
+
```ruby
|
2202
|
+
# load the gem
|
2203
|
+
require 'kubernetes'
|
2204
|
+
# setup authorization
|
2205
|
+
Kubernetes.configure do |config|
|
2206
|
+
# Configure API key authorization: BearerToken
|
2207
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2208
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2209
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2210
|
+
end
|
2211
|
+
|
2212
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2213
|
+
|
2214
|
+
name = "name_example" # String | name of the Deployment
|
2215
|
+
|
2216
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2217
|
+
|
2218
|
+
body = nil # Object |
|
2219
|
+
|
2220
|
+
opts = {
|
2221
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2222
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
2223
|
+
}
|
2224
|
+
|
2225
|
+
begin
|
2226
|
+
result = api_instance.patch_namespaced_deployment_status(name, namespace, body, opts)
|
2227
|
+
p result
|
2228
|
+
rescue Kubernetes::ApiError => e
|
2229
|
+
puts "Exception when calling AppsV1beta2Api->patch_namespaced_deployment_status: #{e}"
|
2230
|
+
end
|
2231
|
+
```
|
2232
|
+
|
2233
|
+
### Parameters
|
2234
|
+
|
2235
|
+
Name | Type | Description | Notes
|
2236
|
+
------------- | ------------- | ------------- | -------------
|
2237
|
+
**name** | **String**| name of the Deployment |
|
2238
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2239
|
+
**body** | **Object**| |
|
2240
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2241
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
2242
|
+
|
2243
|
+
### Return type
|
2244
|
+
|
2245
|
+
[**V1beta2Deployment**](V1beta2Deployment.md)
|
2246
|
+
|
2247
|
+
### Authorization
|
2248
|
+
|
2249
|
+
[BearerToken](../README.md#BearerToken)
|
2250
|
+
|
2251
|
+
### HTTP request headers
|
2252
|
+
|
2253
|
+
- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
|
2254
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2255
|
+
|
2256
|
+
|
2257
|
+
|
2258
|
+
# **patch_namespaced_replica_set**
|
2259
|
+
> V1beta2ReplicaSet patch_namespaced_replica_set(name, namespace, body, opts)
|
2260
|
+
|
2261
|
+
|
2262
|
+
|
2263
|
+
partially update the specified ReplicaSet
|
2264
|
+
|
2265
|
+
### Example
|
2266
|
+
```ruby
|
2267
|
+
# load the gem
|
2268
|
+
require 'kubernetes'
|
2269
|
+
# setup authorization
|
2270
|
+
Kubernetes.configure do |config|
|
2271
|
+
# Configure API key authorization: BearerToken
|
2272
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2273
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2274
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2275
|
+
end
|
2276
|
+
|
2277
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2278
|
+
|
2279
|
+
name = "name_example" # String | name of the ReplicaSet
|
2280
|
+
|
2281
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2282
|
+
|
2283
|
+
body = nil # Object |
|
2284
|
+
|
2285
|
+
opts = {
|
2286
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2287
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
2288
|
+
}
|
2289
|
+
|
2290
|
+
begin
|
2291
|
+
result = api_instance.patch_namespaced_replica_set(name, namespace, body, opts)
|
2292
|
+
p result
|
2293
|
+
rescue Kubernetes::ApiError => e
|
2294
|
+
puts "Exception when calling AppsV1beta2Api->patch_namespaced_replica_set: #{e}"
|
2295
|
+
end
|
2296
|
+
```
|
2297
|
+
|
2298
|
+
### Parameters
|
2299
|
+
|
2300
|
+
Name | Type | Description | Notes
|
2301
|
+
------------- | ------------- | ------------- | -------------
|
2302
|
+
**name** | **String**| name of the ReplicaSet |
|
2303
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2304
|
+
**body** | **Object**| |
|
2305
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2306
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
2307
|
+
|
2308
|
+
### Return type
|
2309
|
+
|
2310
|
+
[**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)
|
2311
|
+
|
2312
|
+
### Authorization
|
2313
|
+
|
2314
|
+
[BearerToken](../README.md#BearerToken)
|
2315
|
+
|
2316
|
+
### HTTP request headers
|
2317
|
+
|
2318
|
+
- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
|
2319
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2320
|
+
|
2321
|
+
|
2322
|
+
|
2323
|
+
# **patch_namespaced_replica_set_scale**
|
2324
|
+
> V1beta2Scale patch_namespaced_replica_set_scale(name, namespace, body, opts)
|
2325
|
+
|
2326
|
+
|
2327
|
+
|
2328
|
+
partially update scale of the specified ReplicaSet
|
2329
|
+
|
2330
|
+
### Example
|
2331
|
+
```ruby
|
2332
|
+
# load the gem
|
2333
|
+
require 'kubernetes'
|
2334
|
+
# setup authorization
|
2335
|
+
Kubernetes.configure do |config|
|
2336
|
+
# Configure API key authorization: BearerToken
|
2337
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2338
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2339
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2340
|
+
end
|
2341
|
+
|
2342
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2343
|
+
|
2344
|
+
name = "name_example" # String | name of the Scale
|
2345
|
+
|
2346
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2347
|
+
|
2348
|
+
body = nil # Object |
|
2349
|
+
|
2350
|
+
opts = {
|
2351
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2352
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
2353
|
+
}
|
2354
|
+
|
2355
|
+
begin
|
2356
|
+
result = api_instance.patch_namespaced_replica_set_scale(name, namespace, body, opts)
|
2357
|
+
p result
|
2358
|
+
rescue Kubernetes::ApiError => e
|
2359
|
+
puts "Exception when calling AppsV1beta2Api->patch_namespaced_replica_set_scale: #{e}"
|
2360
|
+
end
|
2361
|
+
```
|
2362
|
+
|
2363
|
+
### Parameters
|
2364
|
+
|
2365
|
+
Name | Type | Description | Notes
|
2366
|
+
------------- | ------------- | ------------- | -------------
|
2367
|
+
**name** | **String**| name of the Scale |
|
2368
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2369
|
+
**body** | **Object**| |
|
2370
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2371
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
2372
|
+
|
2373
|
+
### Return type
|
2374
|
+
|
2375
|
+
[**V1beta2Scale**](V1beta2Scale.md)
|
2376
|
+
|
2377
|
+
### Authorization
|
2378
|
+
|
2379
|
+
[BearerToken](../README.md#BearerToken)
|
2380
|
+
|
2381
|
+
### HTTP request headers
|
2382
|
+
|
2383
|
+
- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
|
2384
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2385
|
+
|
2386
|
+
|
2387
|
+
|
2388
|
+
# **patch_namespaced_replica_set_status**
|
2389
|
+
> V1beta2ReplicaSet patch_namespaced_replica_set_status(name, namespace, body, opts)
|
2390
|
+
|
2391
|
+
|
2392
|
+
|
2393
|
+
partially update status of the specified ReplicaSet
|
2394
|
+
|
2395
|
+
### Example
|
2396
|
+
```ruby
|
2397
|
+
# load the gem
|
2398
|
+
require 'kubernetes'
|
2399
|
+
# setup authorization
|
2400
|
+
Kubernetes.configure do |config|
|
2401
|
+
# Configure API key authorization: BearerToken
|
2402
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2403
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2404
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2405
|
+
end
|
2406
|
+
|
2407
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2408
|
+
|
2409
|
+
name = "name_example" # String | name of the ReplicaSet
|
2410
|
+
|
2411
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2412
|
+
|
2413
|
+
body = nil # Object |
|
2414
|
+
|
2415
|
+
opts = {
|
2416
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2417
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
2418
|
+
}
|
2419
|
+
|
2420
|
+
begin
|
2421
|
+
result = api_instance.patch_namespaced_replica_set_status(name, namespace, body, opts)
|
2422
|
+
p result
|
2423
|
+
rescue Kubernetes::ApiError => e
|
2424
|
+
puts "Exception when calling AppsV1beta2Api->patch_namespaced_replica_set_status: #{e}"
|
2425
|
+
end
|
2426
|
+
```
|
2427
|
+
|
2428
|
+
### Parameters
|
2429
|
+
|
2430
|
+
Name | Type | Description | Notes
|
2431
|
+
------------- | ------------- | ------------- | -------------
|
2432
|
+
**name** | **String**| name of the ReplicaSet |
|
2433
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2434
|
+
**body** | **Object**| |
|
2435
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2436
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
2437
|
+
|
2438
|
+
### Return type
|
2439
|
+
|
2440
|
+
[**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)
|
2441
|
+
|
2442
|
+
### Authorization
|
2443
|
+
|
2444
|
+
[BearerToken](../README.md#BearerToken)
|
2445
|
+
|
2446
|
+
### HTTP request headers
|
2447
|
+
|
2448
|
+
- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
|
2449
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2450
|
+
|
2451
|
+
|
2452
|
+
|
2453
|
+
# **patch_namespaced_stateful_set**
|
2454
|
+
> V1beta2StatefulSet patch_namespaced_stateful_set(name, namespace, body, opts)
|
2455
|
+
|
2456
|
+
|
2457
|
+
|
2458
|
+
partially update the specified StatefulSet
|
2459
|
+
|
2460
|
+
### Example
|
2461
|
+
```ruby
|
2462
|
+
# load the gem
|
2463
|
+
require 'kubernetes'
|
2464
|
+
# setup authorization
|
2465
|
+
Kubernetes.configure do |config|
|
2466
|
+
# Configure API key authorization: BearerToken
|
2467
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2468
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2469
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2470
|
+
end
|
2471
|
+
|
2472
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2473
|
+
|
2474
|
+
name = "name_example" # String | name of the StatefulSet
|
2475
|
+
|
2476
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2477
|
+
|
2478
|
+
body = nil # Object |
|
2479
|
+
|
2480
|
+
opts = {
|
2481
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2482
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
2483
|
+
}
|
2484
|
+
|
2485
|
+
begin
|
2486
|
+
result = api_instance.patch_namespaced_stateful_set(name, namespace, body, opts)
|
2487
|
+
p result
|
2488
|
+
rescue Kubernetes::ApiError => e
|
2489
|
+
puts "Exception when calling AppsV1beta2Api->patch_namespaced_stateful_set: #{e}"
|
2490
|
+
end
|
2491
|
+
```
|
2492
|
+
|
2493
|
+
### Parameters
|
2494
|
+
|
2495
|
+
Name | Type | Description | Notes
|
2496
|
+
------------- | ------------- | ------------- | -------------
|
2497
|
+
**name** | **String**| name of the StatefulSet |
|
2498
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2499
|
+
**body** | **Object**| |
|
2500
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2501
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
2502
|
+
|
2503
|
+
### Return type
|
2504
|
+
|
2505
|
+
[**V1beta2StatefulSet**](V1beta2StatefulSet.md)
|
2506
|
+
|
2507
|
+
### Authorization
|
2508
|
+
|
2509
|
+
[BearerToken](../README.md#BearerToken)
|
2510
|
+
|
2511
|
+
### HTTP request headers
|
2512
|
+
|
2513
|
+
- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
|
2514
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2515
|
+
|
2516
|
+
|
2517
|
+
|
2518
|
+
# **patch_namespaced_stateful_set_scale**
|
2519
|
+
> V1beta2Scale patch_namespaced_stateful_set_scale(name, namespace, body, opts)
|
2520
|
+
|
2521
|
+
|
2522
|
+
|
2523
|
+
partially update scale of the specified StatefulSet
|
2524
|
+
|
2525
|
+
### Example
|
2526
|
+
```ruby
|
2527
|
+
# load the gem
|
2528
|
+
require 'kubernetes'
|
2529
|
+
# setup authorization
|
2530
|
+
Kubernetes.configure do |config|
|
2531
|
+
# Configure API key authorization: BearerToken
|
2532
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2533
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2534
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2535
|
+
end
|
2536
|
+
|
2537
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2538
|
+
|
2539
|
+
name = "name_example" # String | name of the Scale
|
2540
|
+
|
2541
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2542
|
+
|
2543
|
+
body = nil # Object |
|
2544
|
+
|
2545
|
+
opts = {
|
2546
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2547
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
2548
|
+
}
|
2549
|
+
|
2550
|
+
begin
|
2551
|
+
result = api_instance.patch_namespaced_stateful_set_scale(name, namespace, body, opts)
|
2552
|
+
p result
|
2553
|
+
rescue Kubernetes::ApiError => e
|
2554
|
+
puts "Exception when calling AppsV1beta2Api->patch_namespaced_stateful_set_scale: #{e}"
|
2555
|
+
end
|
2556
|
+
```
|
2557
|
+
|
2558
|
+
### Parameters
|
2559
|
+
|
2560
|
+
Name | Type | Description | Notes
|
2561
|
+
------------- | ------------- | ------------- | -------------
|
2562
|
+
**name** | **String**| name of the Scale |
|
2563
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2564
|
+
**body** | **Object**| |
|
2565
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2566
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
2567
|
+
|
2568
|
+
### Return type
|
2569
|
+
|
2570
|
+
[**V1beta2Scale**](V1beta2Scale.md)
|
2571
|
+
|
2572
|
+
### Authorization
|
2573
|
+
|
2574
|
+
[BearerToken](../README.md#BearerToken)
|
2575
|
+
|
2576
|
+
### HTTP request headers
|
2577
|
+
|
2578
|
+
- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
|
2579
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2580
|
+
|
2581
|
+
|
2582
|
+
|
2583
|
+
# **patch_namespaced_stateful_set_status**
|
2584
|
+
> V1beta2StatefulSet patch_namespaced_stateful_set_status(name, namespace, body, opts)
|
2585
|
+
|
2586
|
+
|
2587
|
+
|
2588
|
+
partially update status of the specified StatefulSet
|
2589
|
+
|
2590
|
+
### Example
|
2591
|
+
```ruby
|
2592
|
+
# load the gem
|
2593
|
+
require 'kubernetes'
|
2594
|
+
# setup authorization
|
2595
|
+
Kubernetes.configure do |config|
|
2596
|
+
# Configure API key authorization: BearerToken
|
2597
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2598
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2599
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2600
|
+
end
|
2601
|
+
|
2602
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2603
|
+
|
2604
|
+
name = "name_example" # String | name of the StatefulSet
|
2605
|
+
|
2606
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2607
|
+
|
2608
|
+
body = nil # Object |
|
2609
|
+
|
2610
|
+
opts = {
|
2611
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2612
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
2613
|
+
}
|
2614
|
+
|
2615
|
+
begin
|
2616
|
+
result = api_instance.patch_namespaced_stateful_set_status(name, namespace, body, opts)
|
2617
|
+
p result
|
2618
|
+
rescue Kubernetes::ApiError => e
|
2619
|
+
puts "Exception when calling AppsV1beta2Api->patch_namespaced_stateful_set_status: #{e}"
|
2620
|
+
end
|
2621
|
+
```
|
2622
|
+
|
2623
|
+
### Parameters
|
2624
|
+
|
2625
|
+
Name | Type | Description | Notes
|
2626
|
+
------------- | ------------- | ------------- | -------------
|
2627
|
+
**name** | **String**| name of the StatefulSet |
|
2628
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2629
|
+
**body** | **Object**| |
|
2630
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2631
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
2632
|
+
|
2633
|
+
### Return type
|
2634
|
+
|
2635
|
+
[**V1beta2StatefulSet**](V1beta2StatefulSet.md)
|
2636
|
+
|
2637
|
+
### Authorization
|
2638
|
+
|
2639
|
+
[BearerToken](../README.md#BearerToken)
|
2640
|
+
|
2641
|
+
### HTTP request headers
|
2642
|
+
|
2643
|
+
- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
|
2644
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2645
|
+
|
2646
|
+
|
2647
|
+
|
2648
|
+
# **read_namespaced_controller_revision**
|
2649
|
+
> V1beta2ControllerRevision read_namespaced_controller_revision(name, namespace, , opts)
|
2650
|
+
|
2651
|
+
|
2652
|
+
|
2653
|
+
read the specified ControllerRevision
|
2654
|
+
|
2655
|
+
### Example
|
2656
|
+
```ruby
|
2657
|
+
# load the gem
|
2658
|
+
require 'kubernetes'
|
2659
|
+
# setup authorization
|
2660
|
+
Kubernetes.configure do |config|
|
2661
|
+
# Configure API key authorization: BearerToken
|
2662
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2663
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2664
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2665
|
+
end
|
2666
|
+
|
2667
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2668
|
+
|
2669
|
+
name = "name_example" # String | name of the ControllerRevision
|
2670
|
+
|
2671
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2672
|
+
|
2673
|
+
opts = {
|
2674
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2675
|
+
exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
2676
|
+
export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify.
|
2677
|
+
}
|
2678
|
+
|
2679
|
+
begin
|
2680
|
+
result = api_instance.read_namespaced_controller_revision(name, namespace, , opts)
|
2681
|
+
p result
|
2682
|
+
rescue Kubernetes::ApiError => e
|
2683
|
+
puts "Exception when calling AppsV1beta2Api->read_namespaced_controller_revision: #{e}"
|
2684
|
+
end
|
2685
|
+
```
|
2686
|
+
|
2687
|
+
### Parameters
|
2688
|
+
|
2689
|
+
Name | Type | Description | Notes
|
2690
|
+
------------- | ------------- | ------------- | -------------
|
2691
|
+
**name** | **String**| name of the ControllerRevision |
|
2692
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2693
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2694
|
+
**exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
|
2695
|
+
**export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
|
2696
|
+
|
2697
|
+
### Return type
|
2698
|
+
|
2699
|
+
[**V1beta2ControllerRevision**](V1beta2ControllerRevision.md)
|
2700
|
+
|
2701
|
+
### Authorization
|
2702
|
+
|
2703
|
+
[BearerToken](../README.md#BearerToken)
|
2704
|
+
|
2705
|
+
### HTTP request headers
|
2706
|
+
|
2707
|
+
- **Content-Type**: */*
|
2708
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2709
|
+
|
2710
|
+
|
2711
|
+
|
2712
|
+
# **read_namespaced_daemon_set**
|
2713
|
+
> V1beta2DaemonSet read_namespaced_daemon_set(name, namespace, , opts)
|
2714
|
+
|
2715
|
+
|
2716
|
+
|
2717
|
+
read the specified DaemonSet
|
2718
|
+
|
2719
|
+
### Example
|
2720
|
+
```ruby
|
2721
|
+
# load the gem
|
2722
|
+
require 'kubernetes'
|
2723
|
+
# setup authorization
|
2724
|
+
Kubernetes.configure do |config|
|
2725
|
+
# Configure API key authorization: BearerToken
|
2726
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2727
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2728
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2729
|
+
end
|
2730
|
+
|
2731
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2732
|
+
|
2733
|
+
name = "name_example" # String | name of the DaemonSet
|
2734
|
+
|
2735
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2736
|
+
|
2737
|
+
opts = {
|
2738
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2739
|
+
exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
2740
|
+
export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify.
|
2741
|
+
}
|
2742
|
+
|
2743
|
+
begin
|
2744
|
+
result = api_instance.read_namespaced_daemon_set(name, namespace, , opts)
|
2745
|
+
p result
|
2746
|
+
rescue Kubernetes::ApiError => e
|
2747
|
+
puts "Exception when calling AppsV1beta2Api->read_namespaced_daemon_set: #{e}"
|
2748
|
+
end
|
2749
|
+
```
|
2750
|
+
|
2751
|
+
### Parameters
|
2752
|
+
|
2753
|
+
Name | Type | Description | Notes
|
2754
|
+
------------- | ------------- | ------------- | -------------
|
2755
|
+
**name** | **String**| name of the DaemonSet |
|
2756
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2757
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2758
|
+
**exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
|
2759
|
+
**export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
|
2760
|
+
|
2761
|
+
### Return type
|
2762
|
+
|
2763
|
+
[**V1beta2DaemonSet**](V1beta2DaemonSet.md)
|
2764
|
+
|
2765
|
+
### Authorization
|
2766
|
+
|
2767
|
+
[BearerToken](../README.md#BearerToken)
|
2768
|
+
|
2769
|
+
### HTTP request headers
|
2770
|
+
|
2771
|
+
- **Content-Type**: */*
|
2772
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2773
|
+
|
2774
|
+
|
2775
|
+
|
2776
|
+
# **read_namespaced_daemon_set_status**
|
2777
|
+
> V1beta2DaemonSet read_namespaced_daemon_set_status(name, namespace, , opts)
|
2778
|
+
|
2779
|
+
|
2780
|
+
|
2781
|
+
read status of the specified DaemonSet
|
2782
|
+
|
2783
|
+
### Example
|
2784
|
+
```ruby
|
2785
|
+
# load the gem
|
2786
|
+
require 'kubernetes'
|
2787
|
+
# setup authorization
|
2788
|
+
Kubernetes.configure do |config|
|
2789
|
+
# Configure API key authorization: BearerToken
|
2790
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2791
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2792
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2793
|
+
end
|
2794
|
+
|
2795
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2796
|
+
|
2797
|
+
name = "name_example" # String | name of the DaemonSet
|
2798
|
+
|
2799
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2800
|
+
|
2801
|
+
opts = {
|
2802
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2803
|
+
}
|
2804
|
+
|
2805
|
+
begin
|
2806
|
+
result = api_instance.read_namespaced_daemon_set_status(name, namespace, , opts)
|
2807
|
+
p result
|
2808
|
+
rescue Kubernetes::ApiError => e
|
2809
|
+
puts "Exception when calling AppsV1beta2Api->read_namespaced_daemon_set_status: #{e}"
|
2810
|
+
end
|
2811
|
+
```
|
2812
|
+
|
2813
|
+
### Parameters
|
2814
|
+
|
2815
|
+
Name | Type | Description | Notes
|
2816
|
+
------------- | ------------- | ------------- | -------------
|
2817
|
+
**name** | **String**| name of the DaemonSet |
|
2818
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2819
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2820
|
+
|
2821
|
+
### Return type
|
2822
|
+
|
2823
|
+
[**V1beta2DaemonSet**](V1beta2DaemonSet.md)
|
2824
|
+
|
2825
|
+
### Authorization
|
2826
|
+
|
2827
|
+
[BearerToken](../README.md#BearerToken)
|
2828
|
+
|
2829
|
+
### HTTP request headers
|
2830
|
+
|
2831
|
+
- **Content-Type**: */*
|
2832
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2833
|
+
|
2834
|
+
|
2835
|
+
|
2836
|
+
# **read_namespaced_deployment**
|
2837
|
+
> V1beta2Deployment read_namespaced_deployment(name, namespace, , opts)
|
2838
|
+
|
2839
|
+
|
2840
|
+
|
2841
|
+
read the specified Deployment
|
2842
|
+
|
2843
|
+
### Example
|
2844
|
+
```ruby
|
2845
|
+
# load the gem
|
2846
|
+
require 'kubernetes'
|
2847
|
+
# setup authorization
|
2848
|
+
Kubernetes.configure do |config|
|
2849
|
+
# Configure API key authorization: BearerToken
|
2850
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2851
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2852
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2853
|
+
end
|
2854
|
+
|
2855
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2856
|
+
|
2857
|
+
name = "name_example" # String | name of the Deployment
|
2858
|
+
|
2859
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2860
|
+
|
2861
|
+
opts = {
|
2862
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2863
|
+
exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
2864
|
+
export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify.
|
2865
|
+
}
|
2866
|
+
|
2867
|
+
begin
|
2868
|
+
result = api_instance.read_namespaced_deployment(name, namespace, , opts)
|
2869
|
+
p result
|
2870
|
+
rescue Kubernetes::ApiError => e
|
2871
|
+
puts "Exception when calling AppsV1beta2Api->read_namespaced_deployment: #{e}"
|
2872
|
+
end
|
2873
|
+
```
|
2874
|
+
|
2875
|
+
### Parameters
|
2876
|
+
|
2877
|
+
Name | Type | Description | Notes
|
2878
|
+
------------- | ------------- | ------------- | -------------
|
2879
|
+
**name** | **String**| name of the Deployment |
|
2880
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2881
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2882
|
+
**exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
|
2883
|
+
**export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
|
2884
|
+
|
2885
|
+
### Return type
|
2886
|
+
|
2887
|
+
[**V1beta2Deployment**](V1beta2Deployment.md)
|
2888
|
+
|
2889
|
+
### Authorization
|
2890
|
+
|
2891
|
+
[BearerToken](../README.md#BearerToken)
|
2892
|
+
|
2893
|
+
### HTTP request headers
|
2894
|
+
|
2895
|
+
- **Content-Type**: */*
|
2896
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2897
|
+
|
2898
|
+
|
2899
|
+
|
2900
|
+
# **read_namespaced_deployment_scale**
|
2901
|
+
> V1beta2Scale read_namespaced_deployment_scale(name, namespace, , opts)
|
2902
|
+
|
2903
|
+
|
2904
|
+
|
2905
|
+
read scale of the specified Deployment
|
2906
|
+
|
2907
|
+
### Example
|
2908
|
+
```ruby
|
2909
|
+
# load the gem
|
2910
|
+
require 'kubernetes'
|
2911
|
+
# setup authorization
|
2912
|
+
Kubernetes.configure do |config|
|
2913
|
+
# Configure API key authorization: BearerToken
|
2914
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2915
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2916
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2917
|
+
end
|
2918
|
+
|
2919
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2920
|
+
|
2921
|
+
name = "name_example" # String | name of the Scale
|
2922
|
+
|
2923
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2924
|
+
|
2925
|
+
opts = {
|
2926
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2927
|
+
}
|
2928
|
+
|
2929
|
+
begin
|
2930
|
+
result = api_instance.read_namespaced_deployment_scale(name, namespace, , opts)
|
2931
|
+
p result
|
2932
|
+
rescue Kubernetes::ApiError => e
|
2933
|
+
puts "Exception when calling AppsV1beta2Api->read_namespaced_deployment_scale: #{e}"
|
2934
|
+
end
|
2935
|
+
```
|
2936
|
+
|
2937
|
+
### Parameters
|
2938
|
+
|
2939
|
+
Name | Type | Description | Notes
|
2940
|
+
------------- | ------------- | ------------- | -------------
|
2941
|
+
**name** | **String**| name of the Scale |
|
2942
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
2943
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
2944
|
+
|
2945
|
+
### Return type
|
2946
|
+
|
2947
|
+
[**V1beta2Scale**](V1beta2Scale.md)
|
2948
|
+
|
2949
|
+
### Authorization
|
2950
|
+
|
2951
|
+
[BearerToken](../README.md#BearerToken)
|
2952
|
+
|
2953
|
+
### HTTP request headers
|
2954
|
+
|
2955
|
+
- **Content-Type**: */*
|
2956
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
2957
|
+
|
2958
|
+
|
2959
|
+
|
2960
|
+
# **read_namespaced_deployment_status**
|
2961
|
+
> V1beta2Deployment read_namespaced_deployment_status(name, namespace, , opts)
|
2962
|
+
|
2963
|
+
|
2964
|
+
|
2965
|
+
read status of the specified Deployment
|
2966
|
+
|
2967
|
+
### Example
|
2968
|
+
```ruby
|
2969
|
+
# load the gem
|
2970
|
+
require 'kubernetes'
|
2971
|
+
# setup authorization
|
2972
|
+
Kubernetes.configure do |config|
|
2973
|
+
# Configure API key authorization: BearerToken
|
2974
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
2975
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2976
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
2977
|
+
end
|
2978
|
+
|
2979
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
2980
|
+
|
2981
|
+
name = "name_example" # String | name of the Deployment
|
2982
|
+
|
2983
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
2984
|
+
|
2985
|
+
opts = {
|
2986
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
2987
|
+
}
|
2988
|
+
|
2989
|
+
begin
|
2990
|
+
result = api_instance.read_namespaced_deployment_status(name, namespace, , opts)
|
2991
|
+
p result
|
2992
|
+
rescue Kubernetes::ApiError => e
|
2993
|
+
puts "Exception when calling AppsV1beta2Api->read_namespaced_deployment_status: #{e}"
|
2994
|
+
end
|
2995
|
+
```
|
2996
|
+
|
2997
|
+
### Parameters
|
2998
|
+
|
2999
|
+
Name | Type | Description | Notes
|
3000
|
+
------------- | ------------- | ------------- | -------------
|
3001
|
+
**name** | **String**| name of the Deployment |
|
3002
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3003
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3004
|
+
|
3005
|
+
### Return type
|
3006
|
+
|
3007
|
+
[**V1beta2Deployment**](V1beta2Deployment.md)
|
3008
|
+
|
3009
|
+
### Authorization
|
3010
|
+
|
3011
|
+
[BearerToken](../README.md#BearerToken)
|
3012
|
+
|
3013
|
+
### HTTP request headers
|
3014
|
+
|
3015
|
+
- **Content-Type**: */*
|
3016
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3017
|
+
|
3018
|
+
|
3019
|
+
|
3020
|
+
# **read_namespaced_replica_set**
|
3021
|
+
> V1beta2ReplicaSet read_namespaced_replica_set(name, namespace, , opts)
|
3022
|
+
|
3023
|
+
|
3024
|
+
|
3025
|
+
read the specified ReplicaSet
|
3026
|
+
|
3027
|
+
### Example
|
3028
|
+
```ruby
|
3029
|
+
# load the gem
|
3030
|
+
require 'kubernetes'
|
3031
|
+
# setup authorization
|
3032
|
+
Kubernetes.configure do |config|
|
3033
|
+
# Configure API key authorization: BearerToken
|
3034
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3035
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3036
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3037
|
+
end
|
3038
|
+
|
3039
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3040
|
+
|
3041
|
+
name = "name_example" # String | name of the ReplicaSet
|
3042
|
+
|
3043
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3044
|
+
|
3045
|
+
opts = {
|
3046
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3047
|
+
exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
3048
|
+
export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify.
|
3049
|
+
}
|
3050
|
+
|
3051
|
+
begin
|
3052
|
+
result = api_instance.read_namespaced_replica_set(name, namespace, , opts)
|
3053
|
+
p result
|
3054
|
+
rescue Kubernetes::ApiError => e
|
3055
|
+
puts "Exception when calling AppsV1beta2Api->read_namespaced_replica_set: #{e}"
|
3056
|
+
end
|
3057
|
+
```
|
3058
|
+
|
3059
|
+
### Parameters
|
3060
|
+
|
3061
|
+
Name | Type | Description | Notes
|
3062
|
+
------------- | ------------- | ------------- | -------------
|
3063
|
+
**name** | **String**| name of the ReplicaSet |
|
3064
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3065
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3066
|
+
**exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
|
3067
|
+
**export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
|
3068
|
+
|
3069
|
+
### Return type
|
3070
|
+
|
3071
|
+
[**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)
|
3072
|
+
|
3073
|
+
### Authorization
|
3074
|
+
|
3075
|
+
[BearerToken](../README.md#BearerToken)
|
3076
|
+
|
3077
|
+
### HTTP request headers
|
3078
|
+
|
3079
|
+
- **Content-Type**: */*
|
3080
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3081
|
+
|
3082
|
+
|
3083
|
+
|
3084
|
+
# **read_namespaced_replica_set_scale**
|
3085
|
+
> V1beta2Scale read_namespaced_replica_set_scale(name, namespace, , opts)
|
3086
|
+
|
3087
|
+
|
3088
|
+
|
3089
|
+
read scale of the specified ReplicaSet
|
3090
|
+
|
3091
|
+
### Example
|
3092
|
+
```ruby
|
3093
|
+
# load the gem
|
3094
|
+
require 'kubernetes'
|
3095
|
+
# setup authorization
|
3096
|
+
Kubernetes.configure do |config|
|
3097
|
+
# Configure API key authorization: BearerToken
|
3098
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3099
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3100
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3101
|
+
end
|
3102
|
+
|
3103
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3104
|
+
|
3105
|
+
name = "name_example" # String | name of the Scale
|
3106
|
+
|
3107
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3108
|
+
|
3109
|
+
opts = {
|
3110
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3111
|
+
}
|
3112
|
+
|
3113
|
+
begin
|
3114
|
+
result = api_instance.read_namespaced_replica_set_scale(name, namespace, , opts)
|
3115
|
+
p result
|
3116
|
+
rescue Kubernetes::ApiError => e
|
3117
|
+
puts "Exception when calling AppsV1beta2Api->read_namespaced_replica_set_scale: #{e}"
|
3118
|
+
end
|
3119
|
+
```
|
3120
|
+
|
3121
|
+
### Parameters
|
3122
|
+
|
3123
|
+
Name | Type | Description | Notes
|
3124
|
+
------------- | ------------- | ------------- | -------------
|
3125
|
+
**name** | **String**| name of the Scale |
|
3126
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3127
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3128
|
+
|
3129
|
+
### Return type
|
3130
|
+
|
3131
|
+
[**V1beta2Scale**](V1beta2Scale.md)
|
3132
|
+
|
3133
|
+
### Authorization
|
3134
|
+
|
3135
|
+
[BearerToken](../README.md#BearerToken)
|
3136
|
+
|
3137
|
+
### HTTP request headers
|
3138
|
+
|
3139
|
+
- **Content-Type**: */*
|
3140
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3141
|
+
|
3142
|
+
|
3143
|
+
|
3144
|
+
# **read_namespaced_replica_set_status**
|
3145
|
+
> V1beta2ReplicaSet read_namespaced_replica_set_status(name, namespace, , opts)
|
3146
|
+
|
3147
|
+
|
3148
|
+
|
3149
|
+
read status of the specified ReplicaSet
|
3150
|
+
|
3151
|
+
### Example
|
3152
|
+
```ruby
|
3153
|
+
# load the gem
|
3154
|
+
require 'kubernetes'
|
3155
|
+
# setup authorization
|
3156
|
+
Kubernetes.configure do |config|
|
3157
|
+
# Configure API key authorization: BearerToken
|
3158
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3159
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3160
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3161
|
+
end
|
3162
|
+
|
3163
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3164
|
+
|
3165
|
+
name = "name_example" # String | name of the ReplicaSet
|
3166
|
+
|
3167
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3168
|
+
|
3169
|
+
opts = {
|
3170
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3171
|
+
}
|
3172
|
+
|
3173
|
+
begin
|
3174
|
+
result = api_instance.read_namespaced_replica_set_status(name, namespace, , opts)
|
3175
|
+
p result
|
3176
|
+
rescue Kubernetes::ApiError => e
|
3177
|
+
puts "Exception when calling AppsV1beta2Api->read_namespaced_replica_set_status: #{e}"
|
3178
|
+
end
|
3179
|
+
```
|
3180
|
+
|
3181
|
+
### Parameters
|
3182
|
+
|
3183
|
+
Name | Type | Description | Notes
|
3184
|
+
------------- | ------------- | ------------- | -------------
|
3185
|
+
**name** | **String**| name of the ReplicaSet |
|
3186
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3187
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3188
|
+
|
3189
|
+
### Return type
|
3190
|
+
|
3191
|
+
[**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)
|
3192
|
+
|
3193
|
+
### Authorization
|
3194
|
+
|
3195
|
+
[BearerToken](../README.md#BearerToken)
|
3196
|
+
|
3197
|
+
### HTTP request headers
|
3198
|
+
|
3199
|
+
- **Content-Type**: */*
|
3200
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3201
|
+
|
3202
|
+
|
3203
|
+
|
3204
|
+
# **read_namespaced_stateful_set**
|
3205
|
+
> V1beta2StatefulSet read_namespaced_stateful_set(name, namespace, , opts)
|
3206
|
+
|
3207
|
+
|
3208
|
+
|
3209
|
+
read the specified StatefulSet
|
3210
|
+
|
3211
|
+
### Example
|
3212
|
+
```ruby
|
3213
|
+
# load the gem
|
3214
|
+
require 'kubernetes'
|
3215
|
+
# setup authorization
|
3216
|
+
Kubernetes.configure do |config|
|
3217
|
+
# Configure API key authorization: BearerToken
|
3218
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3219
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3220
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3221
|
+
end
|
3222
|
+
|
3223
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3224
|
+
|
3225
|
+
name = "name_example" # String | name of the StatefulSet
|
3226
|
+
|
3227
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3228
|
+
|
3229
|
+
opts = {
|
3230
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3231
|
+
exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
3232
|
+
export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify.
|
3233
|
+
}
|
3234
|
+
|
3235
|
+
begin
|
3236
|
+
result = api_instance.read_namespaced_stateful_set(name, namespace, , opts)
|
3237
|
+
p result
|
3238
|
+
rescue Kubernetes::ApiError => e
|
3239
|
+
puts "Exception when calling AppsV1beta2Api->read_namespaced_stateful_set: #{e}"
|
3240
|
+
end
|
3241
|
+
```
|
3242
|
+
|
3243
|
+
### Parameters
|
3244
|
+
|
3245
|
+
Name | Type | Description | Notes
|
3246
|
+
------------- | ------------- | ------------- | -------------
|
3247
|
+
**name** | **String**| name of the StatefulSet |
|
3248
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3249
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3250
|
+
**exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
|
3251
|
+
**export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
|
3252
|
+
|
3253
|
+
### Return type
|
3254
|
+
|
3255
|
+
[**V1beta2StatefulSet**](V1beta2StatefulSet.md)
|
3256
|
+
|
3257
|
+
### Authorization
|
3258
|
+
|
3259
|
+
[BearerToken](../README.md#BearerToken)
|
3260
|
+
|
3261
|
+
### HTTP request headers
|
3262
|
+
|
3263
|
+
- **Content-Type**: */*
|
3264
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3265
|
+
|
3266
|
+
|
3267
|
+
|
3268
|
+
# **read_namespaced_stateful_set_scale**
|
3269
|
+
> V1beta2Scale read_namespaced_stateful_set_scale(name, namespace, , opts)
|
3270
|
+
|
3271
|
+
|
3272
|
+
|
3273
|
+
read scale of the specified StatefulSet
|
3274
|
+
|
3275
|
+
### Example
|
3276
|
+
```ruby
|
3277
|
+
# load the gem
|
3278
|
+
require 'kubernetes'
|
3279
|
+
# setup authorization
|
3280
|
+
Kubernetes.configure do |config|
|
3281
|
+
# Configure API key authorization: BearerToken
|
3282
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3283
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3284
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3285
|
+
end
|
3286
|
+
|
3287
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3288
|
+
|
3289
|
+
name = "name_example" # String | name of the Scale
|
3290
|
+
|
3291
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3292
|
+
|
3293
|
+
opts = {
|
3294
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3295
|
+
}
|
3296
|
+
|
3297
|
+
begin
|
3298
|
+
result = api_instance.read_namespaced_stateful_set_scale(name, namespace, , opts)
|
3299
|
+
p result
|
3300
|
+
rescue Kubernetes::ApiError => e
|
3301
|
+
puts "Exception when calling AppsV1beta2Api->read_namespaced_stateful_set_scale: #{e}"
|
3302
|
+
end
|
3303
|
+
```
|
3304
|
+
|
3305
|
+
### Parameters
|
3306
|
+
|
3307
|
+
Name | Type | Description | Notes
|
3308
|
+
------------- | ------------- | ------------- | -------------
|
3309
|
+
**name** | **String**| name of the Scale |
|
3310
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3311
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3312
|
+
|
3313
|
+
### Return type
|
3314
|
+
|
3315
|
+
[**V1beta2Scale**](V1beta2Scale.md)
|
3316
|
+
|
3317
|
+
### Authorization
|
3318
|
+
|
3319
|
+
[BearerToken](../README.md#BearerToken)
|
3320
|
+
|
3321
|
+
### HTTP request headers
|
3322
|
+
|
3323
|
+
- **Content-Type**: */*
|
3324
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3325
|
+
|
3326
|
+
|
3327
|
+
|
3328
|
+
# **read_namespaced_stateful_set_status**
|
3329
|
+
> V1beta2StatefulSet read_namespaced_stateful_set_status(name, namespace, , opts)
|
3330
|
+
|
3331
|
+
|
3332
|
+
|
3333
|
+
read status of the specified StatefulSet
|
3334
|
+
|
3335
|
+
### Example
|
3336
|
+
```ruby
|
3337
|
+
# load the gem
|
3338
|
+
require 'kubernetes'
|
3339
|
+
# setup authorization
|
3340
|
+
Kubernetes.configure do |config|
|
3341
|
+
# Configure API key authorization: BearerToken
|
3342
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3343
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3344
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3345
|
+
end
|
3346
|
+
|
3347
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3348
|
+
|
3349
|
+
name = "name_example" # String | name of the StatefulSet
|
3350
|
+
|
3351
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3352
|
+
|
3353
|
+
opts = {
|
3354
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3355
|
+
}
|
3356
|
+
|
3357
|
+
begin
|
3358
|
+
result = api_instance.read_namespaced_stateful_set_status(name, namespace, , opts)
|
3359
|
+
p result
|
3360
|
+
rescue Kubernetes::ApiError => e
|
3361
|
+
puts "Exception when calling AppsV1beta2Api->read_namespaced_stateful_set_status: #{e}"
|
3362
|
+
end
|
3363
|
+
```
|
3364
|
+
|
3365
|
+
### Parameters
|
3366
|
+
|
3367
|
+
Name | Type | Description | Notes
|
3368
|
+
------------- | ------------- | ------------- | -------------
|
3369
|
+
**name** | **String**| name of the StatefulSet |
|
3370
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3371
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3372
|
+
|
3373
|
+
### Return type
|
3374
|
+
|
3375
|
+
[**V1beta2StatefulSet**](V1beta2StatefulSet.md)
|
3376
|
+
|
3377
|
+
### Authorization
|
3378
|
+
|
3379
|
+
[BearerToken](../README.md#BearerToken)
|
3380
|
+
|
3381
|
+
### HTTP request headers
|
3382
|
+
|
3383
|
+
- **Content-Type**: */*
|
3384
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3385
|
+
|
3386
|
+
|
3387
|
+
|
3388
|
+
# **replace_namespaced_controller_revision**
|
3389
|
+
> V1beta2ControllerRevision replace_namespaced_controller_revision(name, namespace, body, opts)
|
3390
|
+
|
3391
|
+
|
3392
|
+
|
3393
|
+
replace the specified ControllerRevision
|
3394
|
+
|
3395
|
+
### Example
|
3396
|
+
```ruby
|
3397
|
+
# load the gem
|
3398
|
+
require 'kubernetes'
|
3399
|
+
# setup authorization
|
3400
|
+
Kubernetes.configure do |config|
|
3401
|
+
# Configure API key authorization: BearerToken
|
3402
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3403
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3404
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3405
|
+
end
|
3406
|
+
|
3407
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3408
|
+
|
3409
|
+
name = "name_example" # String | name of the ControllerRevision
|
3410
|
+
|
3411
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3412
|
+
|
3413
|
+
body = Kubernetes::V1beta2ControllerRevision.new # V1beta2ControllerRevision |
|
3414
|
+
|
3415
|
+
opts = {
|
3416
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3417
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
3418
|
+
}
|
3419
|
+
|
3420
|
+
begin
|
3421
|
+
result = api_instance.replace_namespaced_controller_revision(name, namespace, body, opts)
|
3422
|
+
p result
|
3423
|
+
rescue Kubernetes::ApiError => e
|
3424
|
+
puts "Exception when calling AppsV1beta2Api->replace_namespaced_controller_revision: #{e}"
|
3425
|
+
end
|
3426
|
+
```
|
3427
|
+
|
3428
|
+
### Parameters
|
3429
|
+
|
3430
|
+
Name | Type | Description | Notes
|
3431
|
+
------------- | ------------- | ------------- | -------------
|
3432
|
+
**name** | **String**| name of the ControllerRevision |
|
3433
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3434
|
+
**body** | [**V1beta2ControllerRevision**](V1beta2ControllerRevision.md)| |
|
3435
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3436
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
3437
|
+
|
3438
|
+
### Return type
|
3439
|
+
|
3440
|
+
[**V1beta2ControllerRevision**](V1beta2ControllerRevision.md)
|
3441
|
+
|
3442
|
+
### Authorization
|
3443
|
+
|
3444
|
+
[BearerToken](../README.md#BearerToken)
|
3445
|
+
|
3446
|
+
### HTTP request headers
|
3447
|
+
|
3448
|
+
- **Content-Type**: */*
|
3449
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3450
|
+
|
3451
|
+
|
3452
|
+
|
3453
|
+
# **replace_namespaced_daemon_set**
|
3454
|
+
> V1beta2DaemonSet replace_namespaced_daemon_set(name, namespace, body, opts)
|
3455
|
+
|
3456
|
+
|
3457
|
+
|
3458
|
+
replace the specified DaemonSet
|
3459
|
+
|
3460
|
+
### Example
|
3461
|
+
```ruby
|
3462
|
+
# load the gem
|
3463
|
+
require 'kubernetes'
|
3464
|
+
# setup authorization
|
3465
|
+
Kubernetes.configure do |config|
|
3466
|
+
# Configure API key authorization: BearerToken
|
3467
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3468
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3469
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3470
|
+
end
|
3471
|
+
|
3472
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3473
|
+
|
3474
|
+
name = "name_example" # String | name of the DaemonSet
|
3475
|
+
|
3476
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3477
|
+
|
3478
|
+
body = Kubernetes::V1beta2DaemonSet.new # V1beta2DaemonSet |
|
3479
|
+
|
3480
|
+
opts = {
|
3481
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3482
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
3483
|
+
}
|
3484
|
+
|
3485
|
+
begin
|
3486
|
+
result = api_instance.replace_namespaced_daemon_set(name, namespace, body, opts)
|
3487
|
+
p result
|
3488
|
+
rescue Kubernetes::ApiError => e
|
3489
|
+
puts "Exception when calling AppsV1beta2Api->replace_namespaced_daemon_set: #{e}"
|
3490
|
+
end
|
3491
|
+
```
|
3492
|
+
|
3493
|
+
### Parameters
|
3494
|
+
|
3495
|
+
Name | Type | Description | Notes
|
3496
|
+
------------- | ------------- | ------------- | -------------
|
3497
|
+
**name** | **String**| name of the DaemonSet |
|
3498
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3499
|
+
**body** | [**V1beta2DaemonSet**](V1beta2DaemonSet.md)| |
|
3500
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3501
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
3502
|
+
|
3503
|
+
### Return type
|
3504
|
+
|
3505
|
+
[**V1beta2DaemonSet**](V1beta2DaemonSet.md)
|
3506
|
+
|
3507
|
+
### Authorization
|
3508
|
+
|
3509
|
+
[BearerToken](../README.md#BearerToken)
|
3510
|
+
|
3511
|
+
### HTTP request headers
|
3512
|
+
|
3513
|
+
- **Content-Type**: */*
|
3514
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3515
|
+
|
3516
|
+
|
3517
|
+
|
3518
|
+
# **replace_namespaced_daemon_set_status**
|
3519
|
+
> V1beta2DaemonSet replace_namespaced_daemon_set_status(name, namespace, body, opts)
|
3520
|
+
|
3521
|
+
|
3522
|
+
|
3523
|
+
replace status of the specified DaemonSet
|
3524
|
+
|
3525
|
+
### Example
|
3526
|
+
```ruby
|
3527
|
+
# load the gem
|
3528
|
+
require 'kubernetes'
|
3529
|
+
# setup authorization
|
3530
|
+
Kubernetes.configure do |config|
|
3531
|
+
# Configure API key authorization: BearerToken
|
3532
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3533
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3534
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3535
|
+
end
|
3536
|
+
|
3537
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3538
|
+
|
3539
|
+
name = "name_example" # String | name of the DaemonSet
|
3540
|
+
|
3541
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3542
|
+
|
3543
|
+
body = Kubernetes::V1beta2DaemonSet.new # V1beta2DaemonSet |
|
3544
|
+
|
3545
|
+
opts = {
|
3546
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3547
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
3548
|
+
}
|
3549
|
+
|
3550
|
+
begin
|
3551
|
+
result = api_instance.replace_namespaced_daemon_set_status(name, namespace, body, opts)
|
3552
|
+
p result
|
3553
|
+
rescue Kubernetes::ApiError => e
|
3554
|
+
puts "Exception when calling AppsV1beta2Api->replace_namespaced_daemon_set_status: #{e}"
|
3555
|
+
end
|
3556
|
+
```
|
3557
|
+
|
3558
|
+
### Parameters
|
3559
|
+
|
3560
|
+
Name | Type | Description | Notes
|
3561
|
+
------------- | ------------- | ------------- | -------------
|
3562
|
+
**name** | **String**| name of the DaemonSet |
|
3563
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3564
|
+
**body** | [**V1beta2DaemonSet**](V1beta2DaemonSet.md)| |
|
3565
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3566
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
3567
|
+
|
3568
|
+
### Return type
|
3569
|
+
|
3570
|
+
[**V1beta2DaemonSet**](V1beta2DaemonSet.md)
|
3571
|
+
|
3572
|
+
### Authorization
|
3573
|
+
|
3574
|
+
[BearerToken](../README.md#BearerToken)
|
3575
|
+
|
3576
|
+
### HTTP request headers
|
3577
|
+
|
3578
|
+
- **Content-Type**: */*
|
3579
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3580
|
+
|
3581
|
+
|
3582
|
+
|
3583
|
+
# **replace_namespaced_deployment**
|
3584
|
+
> V1beta2Deployment replace_namespaced_deployment(name, namespace, body, opts)
|
3585
|
+
|
3586
|
+
|
3587
|
+
|
3588
|
+
replace the specified Deployment
|
3589
|
+
|
3590
|
+
### Example
|
3591
|
+
```ruby
|
3592
|
+
# load the gem
|
3593
|
+
require 'kubernetes'
|
3594
|
+
# setup authorization
|
3595
|
+
Kubernetes.configure do |config|
|
3596
|
+
# Configure API key authorization: BearerToken
|
3597
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3598
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3599
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3600
|
+
end
|
3601
|
+
|
3602
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3603
|
+
|
3604
|
+
name = "name_example" # String | name of the Deployment
|
3605
|
+
|
3606
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3607
|
+
|
3608
|
+
body = Kubernetes::V1beta2Deployment.new # V1beta2Deployment |
|
3609
|
+
|
3610
|
+
opts = {
|
3611
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3612
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
3613
|
+
}
|
3614
|
+
|
3615
|
+
begin
|
3616
|
+
result = api_instance.replace_namespaced_deployment(name, namespace, body, opts)
|
3617
|
+
p result
|
3618
|
+
rescue Kubernetes::ApiError => e
|
3619
|
+
puts "Exception when calling AppsV1beta2Api->replace_namespaced_deployment: #{e}"
|
3620
|
+
end
|
3621
|
+
```
|
3622
|
+
|
3623
|
+
### Parameters
|
3624
|
+
|
3625
|
+
Name | Type | Description | Notes
|
3626
|
+
------------- | ------------- | ------------- | -------------
|
3627
|
+
**name** | **String**| name of the Deployment |
|
3628
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3629
|
+
**body** | [**V1beta2Deployment**](V1beta2Deployment.md)| |
|
3630
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3631
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
3632
|
+
|
3633
|
+
### Return type
|
3634
|
+
|
3635
|
+
[**V1beta2Deployment**](V1beta2Deployment.md)
|
3636
|
+
|
3637
|
+
### Authorization
|
3638
|
+
|
3639
|
+
[BearerToken](../README.md#BearerToken)
|
3640
|
+
|
3641
|
+
### HTTP request headers
|
3642
|
+
|
3643
|
+
- **Content-Type**: */*
|
3644
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3645
|
+
|
3646
|
+
|
3647
|
+
|
3648
|
+
# **replace_namespaced_deployment_scale**
|
3649
|
+
> V1beta2Scale replace_namespaced_deployment_scale(name, namespace, body, opts)
|
3650
|
+
|
3651
|
+
|
3652
|
+
|
3653
|
+
replace scale of the specified Deployment
|
3654
|
+
|
3655
|
+
### Example
|
3656
|
+
```ruby
|
3657
|
+
# load the gem
|
3658
|
+
require 'kubernetes'
|
3659
|
+
# setup authorization
|
3660
|
+
Kubernetes.configure do |config|
|
3661
|
+
# Configure API key authorization: BearerToken
|
3662
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3663
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3664
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3665
|
+
end
|
3666
|
+
|
3667
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3668
|
+
|
3669
|
+
name = "name_example" # String | name of the Scale
|
3670
|
+
|
3671
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3672
|
+
|
3673
|
+
body = Kubernetes::V1beta2Scale.new # V1beta2Scale |
|
3674
|
+
|
3675
|
+
opts = {
|
3676
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3677
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
3678
|
+
}
|
3679
|
+
|
3680
|
+
begin
|
3681
|
+
result = api_instance.replace_namespaced_deployment_scale(name, namespace, body, opts)
|
3682
|
+
p result
|
3683
|
+
rescue Kubernetes::ApiError => e
|
3684
|
+
puts "Exception when calling AppsV1beta2Api->replace_namespaced_deployment_scale: #{e}"
|
3685
|
+
end
|
3686
|
+
```
|
3687
|
+
|
3688
|
+
### Parameters
|
3689
|
+
|
3690
|
+
Name | Type | Description | Notes
|
3691
|
+
------------- | ------------- | ------------- | -------------
|
3692
|
+
**name** | **String**| name of the Scale |
|
3693
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3694
|
+
**body** | [**V1beta2Scale**](V1beta2Scale.md)| |
|
3695
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3696
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
3697
|
+
|
3698
|
+
### Return type
|
3699
|
+
|
3700
|
+
[**V1beta2Scale**](V1beta2Scale.md)
|
3701
|
+
|
3702
|
+
### Authorization
|
3703
|
+
|
3704
|
+
[BearerToken](../README.md#BearerToken)
|
3705
|
+
|
3706
|
+
### HTTP request headers
|
3707
|
+
|
3708
|
+
- **Content-Type**: */*
|
3709
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3710
|
+
|
3711
|
+
|
3712
|
+
|
3713
|
+
# **replace_namespaced_deployment_status**
|
3714
|
+
> V1beta2Deployment replace_namespaced_deployment_status(name, namespace, body, opts)
|
3715
|
+
|
3716
|
+
|
3717
|
+
|
3718
|
+
replace status of the specified Deployment
|
3719
|
+
|
3720
|
+
### Example
|
3721
|
+
```ruby
|
3722
|
+
# load the gem
|
3723
|
+
require 'kubernetes'
|
3724
|
+
# setup authorization
|
3725
|
+
Kubernetes.configure do |config|
|
3726
|
+
# Configure API key authorization: BearerToken
|
3727
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3728
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3729
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3730
|
+
end
|
3731
|
+
|
3732
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3733
|
+
|
3734
|
+
name = "name_example" # String | name of the Deployment
|
3735
|
+
|
3736
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3737
|
+
|
3738
|
+
body = Kubernetes::V1beta2Deployment.new # V1beta2Deployment |
|
3739
|
+
|
3740
|
+
opts = {
|
3741
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3742
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
3743
|
+
}
|
3744
|
+
|
3745
|
+
begin
|
3746
|
+
result = api_instance.replace_namespaced_deployment_status(name, namespace, body, opts)
|
3747
|
+
p result
|
3748
|
+
rescue Kubernetes::ApiError => e
|
3749
|
+
puts "Exception when calling AppsV1beta2Api->replace_namespaced_deployment_status: #{e}"
|
3750
|
+
end
|
3751
|
+
```
|
3752
|
+
|
3753
|
+
### Parameters
|
3754
|
+
|
3755
|
+
Name | Type | Description | Notes
|
3756
|
+
------------- | ------------- | ------------- | -------------
|
3757
|
+
**name** | **String**| name of the Deployment |
|
3758
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3759
|
+
**body** | [**V1beta2Deployment**](V1beta2Deployment.md)| |
|
3760
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3761
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
3762
|
+
|
3763
|
+
### Return type
|
3764
|
+
|
3765
|
+
[**V1beta2Deployment**](V1beta2Deployment.md)
|
3766
|
+
|
3767
|
+
### Authorization
|
3768
|
+
|
3769
|
+
[BearerToken](../README.md#BearerToken)
|
3770
|
+
|
3771
|
+
### HTTP request headers
|
3772
|
+
|
3773
|
+
- **Content-Type**: */*
|
3774
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3775
|
+
|
3776
|
+
|
3777
|
+
|
3778
|
+
# **replace_namespaced_replica_set**
|
3779
|
+
> V1beta2ReplicaSet replace_namespaced_replica_set(name, namespace, body, opts)
|
3780
|
+
|
3781
|
+
|
3782
|
+
|
3783
|
+
replace the specified ReplicaSet
|
3784
|
+
|
3785
|
+
### Example
|
3786
|
+
```ruby
|
3787
|
+
# load the gem
|
3788
|
+
require 'kubernetes'
|
3789
|
+
# setup authorization
|
3790
|
+
Kubernetes.configure do |config|
|
3791
|
+
# Configure API key authorization: BearerToken
|
3792
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3793
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3794
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3795
|
+
end
|
3796
|
+
|
3797
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3798
|
+
|
3799
|
+
name = "name_example" # String | name of the ReplicaSet
|
3800
|
+
|
3801
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3802
|
+
|
3803
|
+
body = Kubernetes::V1beta2ReplicaSet.new # V1beta2ReplicaSet |
|
3804
|
+
|
3805
|
+
opts = {
|
3806
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3807
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
3808
|
+
}
|
3809
|
+
|
3810
|
+
begin
|
3811
|
+
result = api_instance.replace_namespaced_replica_set(name, namespace, body, opts)
|
3812
|
+
p result
|
3813
|
+
rescue Kubernetes::ApiError => e
|
3814
|
+
puts "Exception when calling AppsV1beta2Api->replace_namespaced_replica_set: #{e}"
|
3815
|
+
end
|
3816
|
+
```
|
3817
|
+
|
3818
|
+
### Parameters
|
3819
|
+
|
3820
|
+
Name | Type | Description | Notes
|
3821
|
+
------------- | ------------- | ------------- | -------------
|
3822
|
+
**name** | **String**| name of the ReplicaSet |
|
3823
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3824
|
+
**body** | [**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)| |
|
3825
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3826
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
3827
|
+
|
3828
|
+
### Return type
|
3829
|
+
|
3830
|
+
[**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)
|
3831
|
+
|
3832
|
+
### Authorization
|
3833
|
+
|
3834
|
+
[BearerToken](../README.md#BearerToken)
|
3835
|
+
|
3836
|
+
### HTTP request headers
|
3837
|
+
|
3838
|
+
- **Content-Type**: */*
|
3839
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3840
|
+
|
3841
|
+
|
3842
|
+
|
3843
|
+
# **replace_namespaced_replica_set_scale**
|
3844
|
+
> V1beta2Scale replace_namespaced_replica_set_scale(name, namespace, body, opts)
|
3845
|
+
|
3846
|
+
|
3847
|
+
|
3848
|
+
replace scale of the specified ReplicaSet
|
3849
|
+
|
3850
|
+
### Example
|
3851
|
+
```ruby
|
3852
|
+
# load the gem
|
3853
|
+
require 'kubernetes'
|
3854
|
+
# setup authorization
|
3855
|
+
Kubernetes.configure do |config|
|
3856
|
+
# Configure API key authorization: BearerToken
|
3857
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3858
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3859
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3860
|
+
end
|
3861
|
+
|
3862
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3863
|
+
|
3864
|
+
name = "name_example" # String | name of the Scale
|
3865
|
+
|
3866
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3867
|
+
|
3868
|
+
body = Kubernetes::V1beta2Scale.new # V1beta2Scale |
|
3869
|
+
|
3870
|
+
opts = {
|
3871
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3872
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
3873
|
+
}
|
3874
|
+
|
3875
|
+
begin
|
3876
|
+
result = api_instance.replace_namespaced_replica_set_scale(name, namespace, body, opts)
|
3877
|
+
p result
|
3878
|
+
rescue Kubernetes::ApiError => e
|
3879
|
+
puts "Exception when calling AppsV1beta2Api->replace_namespaced_replica_set_scale: #{e}"
|
3880
|
+
end
|
3881
|
+
```
|
3882
|
+
|
3883
|
+
### Parameters
|
3884
|
+
|
3885
|
+
Name | Type | Description | Notes
|
3886
|
+
------------- | ------------- | ------------- | -------------
|
3887
|
+
**name** | **String**| name of the Scale |
|
3888
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3889
|
+
**body** | [**V1beta2Scale**](V1beta2Scale.md)| |
|
3890
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3891
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
3892
|
+
|
3893
|
+
### Return type
|
3894
|
+
|
3895
|
+
[**V1beta2Scale**](V1beta2Scale.md)
|
3896
|
+
|
3897
|
+
### Authorization
|
3898
|
+
|
3899
|
+
[BearerToken](../README.md#BearerToken)
|
3900
|
+
|
3901
|
+
### HTTP request headers
|
3902
|
+
|
3903
|
+
- **Content-Type**: */*
|
3904
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3905
|
+
|
3906
|
+
|
3907
|
+
|
3908
|
+
# **replace_namespaced_replica_set_status**
|
3909
|
+
> V1beta2ReplicaSet replace_namespaced_replica_set_status(name, namespace, body, opts)
|
3910
|
+
|
3911
|
+
|
3912
|
+
|
3913
|
+
replace status of the specified ReplicaSet
|
3914
|
+
|
3915
|
+
### Example
|
3916
|
+
```ruby
|
3917
|
+
# load the gem
|
3918
|
+
require 'kubernetes'
|
3919
|
+
# setup authorization
|
3920
|
+
Kubernetes.configure do |config|
|
3921
|
+
# Configure API key authorization: BearerToken
|
3922
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3923
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3924
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3925
|
+
end
|
3926
|
+
|
3927
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3928
|
+
|
3929
|
+
name = "name_example" # String | name of the ReplicaSet
|
3930
|
+
|
3931
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3932
|
+
|
3933
|
+
body = Kubernetes::V1beta2ReplicaSet.new # V1beta2ReplicaSet |
|
3934
|
+
|
3935
|
+
opts = {
|
3936
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
3937
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
3938
|
+
}
|
3939
|
+
|
3940
|
+
begin
|
3941
|
+
result = api_instance.replace_namespaced_replica_set_status(name, namespace, body, opts)
|
3942
|
+
p result
|
3943
|
+
rescue Kubernetes::ApiError => e
|
3944
|
+
puts "Exception when calling AppsV1beta2Api->replace_namespaced_replica_set_status: #{e}"
|
3945
|
+
end
|
3946
|
+
```
|
3947
|
+
|
3948
|
+
### Parameters
|
3949
|
+
|
3950
|
+
Name | Type | Description | Notes
|
3951
|
+
------------- | ------------- | ------------- | -------------
|
3952
|
+
**name** | **String**| name of the ReplicaSet |
|
3953
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
3954
|
+
**body** | [**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)| |
|
3955
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
3956
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
3957
|
+
|
3958
|
+
### Return type
|
3959
|
+
|
3960
|
+
[**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)
|
3961
|
+
|
3962
|
+
### Authorization
|
3963
|
+
|
3964
|
+
[BearerToken](../README.md#BearerToken)
|
3965
|
+
|
3966
|
+
### HTTP request headers
|
3967
|
+
|
3968
|
+
- **Content-Type**: */*
|
3969
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
3970
|
+
|
3971
|
+
|
3972
|
+
|
3973
|
+
# **replace_namespaced_stateful_set**
|
3974
|
+
> V1beta2StatefulSet replace_namespaced_stateful_set(name, namespace, body, opts)
|
3975
|
+
|
3976
|
+
|
3977
|
+
|
3978
|
+
replace the specified StatefulSet
|
3979
|
+
|
3980
|
+
### Example
|
3981
|
+
```ruby
|
3982
|
+
# load the gem
|
3983
|
+
require 'kubernetes'
|
3984
|
+
# setup authorization
|
3985
|
+
Kubernetes.configure do |config|
|
3986
|
+
# Configure API key authorization: BearerToken
|
3987
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
3988
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3989
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
3990
|
+
end
|
3991
|
+
|
3992
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
3993
|
+
|
3994
|
+
name = "name_example" # String | name of the StatefulSet
|
3995
|
+
|
3996
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
3997
|
+
|
3998
|
+
body = Kubernetes::V1beta2StatefulSet.new # V1beta2StatefulSet |
|
3999
|
+
|
4000
|
+
opts = {
|
4001
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
4002
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
4003
|
+
}
|
4004
|
+
|
4005
|
+
begin
|
4006
|
+
result = api_instance.replace_namespaced_stateful_set(name, namespace, body, opts)
|
4007
|
+
p result
|
4008
|
+
rescue Kubernetes::ApiError => e
|
4009
|
+
puts "Exception when calling AppsV1beta2Api->replace_namespaced_stateful_set: #{e}"
|
4010
|
+
end
|
4011
|
+
```
|
4012
|
+
|
4013
|
+
### Parameters
|
4014
|
+
|
4015
|
+
Name | Type | Description | Notes
|
4016
|
+
------------- | ------------- | ------------- | -------------
|
4017
|
+
**name** | **String**| name of the StatefulSet |
|
4018
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
4019
|
+
**body** | [**V1beta2StatefulSet**](V1beta2StatefulSet.md)| |
|
4020
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
4021
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
4022
|
+
|
4023
|
+
### Return type
|
4024
|
+
|
4025
|
+
[**V1beta2StatefulSet**](V1beta2StatefulSet.md)
|
4026
|
+
|
4027
|
+
### Authorization
|
4028
|
+
|
4029
|
+
[BearerToken](../README.md#BearerToken)
|
4030
|
+
|
4031
|
+
### HTTP request headers
|
4032
|
+
|
4033
|
+
- **Content-Type**: */*
|
4034
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
4035
|
+
|
4036
|
+
|
4037
|
+
|
4038
|
+
# **replace_namespaced_stateful_set_scale**
|
4039
|
+
> V1beta2Scale replace_namespaced_stateful_set_scale(name, namespace, body, opts)
|
4040
|
+
|
4041
|
+
|
4042
|
+
|
4043
|
+
replace scale of the specified StatefulSet
|
4044
|
+
|
4045
|
+
### Example
|
4046
|
+
```ruby
|
4047
|
+
# load the gem
|
4048
|
+
require 'kubernetes'
|
4049
|
+
# setup authorization
|
4050
|
+
Kubernetes.configure do |config|
|
4051
|
+
# Configure API key authorization: BearerToken
|
4052
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
4053
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
4054
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
4055
|
+
end
|
4056
|
+
|
4057
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
4058
|
+
|
4059
|
+
name = "name_example" # String | name of the Scale
|
4060
|
+
|
4061
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
4062
|
+
|
4063
|
+
body = Kubernetes::V1beta2Scale.new # V1beta2Scale |
|
4064
|
+
|
4065
|
+
opts = {
|
4066
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
4067
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
4068
|
+
}
|
4069
|
+
|
4070
|
+
begin
|
4071
|
+
result = api_instance.replace_namespaced_stateful_set_scale(name, namespace, body, opts)
|
4072
|
+
p result
|
4073
|
+
rescue Kubernetes::ApiError => e
|
4074
|
+
puts "Exception when calling AppsV1beta2Api->replace_namespaced_stateful_set_scale: #{e}"
|
4075
|
+
end
|
4076
|
+
```
|
4077
|
+
|
4078
|
+
### Parameters
|
4079
|
+
|
4080
|
+
Name | Type | Description | Notes
|
4081
|
+
------------- | ------------- | ------------- | -------------
|
4082
|
+
**name** | **String**| name of the Scale |
|
4083
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
4084
|
+
**body** | [**V1beta2Scale**](V1beta2Scale.md)| |
|
4085
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
4086
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
4087
|
+
|
4088
|
+
### Return type
|
4089
|
+
|
4090
|
+
[**V1beta2Scale**](V1beta2Scale.md)
|
4091
|
+
|
4092
|
+
### Authorization
|
4093
|
+
|
4094
|
+
[BearerToken](../README.md#BearerToken)
|
4095
|
+
|
4096
|
+
### HTTP request headers
|
4097
|
+
|
4098
|
+
- **Content-Type**: */*
|
4099
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
4100
|
+
|
4101
|
+
|
4102
|
+
|
4103
|
+
# **replace_namespaced_stateful_set_status**
|
4104
|
+
> V1beta2StatefulSet replace_namespaced_stateful_set_status(name, namespace, body, opts)
|
4105
|
+
|
4106
|
+
|
4107
|
+
|
4108
|
+
replace status of the specified StatefulSet
|
4109
|
+
|
4110
|
+
### Example
|
4111
|
+
```ruby
|
4112
|
+
# load the gem
|
4113
|
+
require 'kubernetes'
|
4114
|
+
# setup authorization
|
4115
|
+
Kubernetes.configure do |config|
|
4116
|
+
# Configure API key authorization: BearerToken
|
4117
|
+
config.api_key['authorization'] = 'YOUR API KEY'
|
4118
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
4119
|
+
#config.api_key_prefix['authorization'] = 'Bearer'
|
4120
|
+
end
|
4121
|
+
|
4122
|
+
api_instance = Kubernetes::AppsV1beta2Api.new
|
4123
|
+
|
4124
|
+
name = "name_example" # String | name of the StatefulSet
|
4125
|
+
|
4126
|
+
namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects
|
4127
|
+
|
4128
|
+
body = Kubernetes::V1beta2StatefulSet.new # V1beta2StatefulSet |
|
4129
|
+
|
4130
|
+
opts = {
|
4131
|
+
pretty: "pretty_example", # String | If 'true', then the output is pretty printed.
|
4132
|
+
dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
4133
|
+
}
|
4134
|
+
|
4135
|
+
begin
|
4136
|
+
result = api_instance.replace_namespaced_stateful_set_status(name, namespace, body, opts)
|
4137
|
+
p result
|
4138
|
+
rescue Kubernetes::ApiError => e
|
4139
|
+
puts "Exception when calling AppsV1beta2Api->replace_namespaced_stateful_set_status: #{e}"
|
4140
|
+
end
|
4141
|
+
```
|
4142
|
+
|
4143
|
+
### Parameters
|
4144
|
+
|
4145
|
+
Name | Type | Description | Notes
|
4146
|
+
------------- | ------------- | ------------- | -------------
|
4147
|
+
**name** | **String**| name of the StatefulSet |
|
4148
|
+
**namespace** | **String**| object name and auth scope, such as for teams and projects |
|
4149
|
+
**body** | [**V1beta2StatefulSet**](V1beta2StatefulSet.md)| |
|
4150
|
+
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
|
4151
|
+
**dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
|
4152
|
+
|
4153
|
+
### Return type
|
4154
|
+
|
4155
|
+
[**V1beta2StatefulSet**](V1beta2StatefulSet.md)
|
4156
|
+
|
4157
|
+
### Authorization
|
4158
|
+
|
4159
|
+
[BearerToken](../README.md#BearerToken)
|
4160
|
+
|
4161
|
+
### HTTP request headers
|
4162
|
+
|
4163
|
+
- **Content-Type**: */*
|
4164
|
+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
|
4165
|
+
|
4166
|
+
|
4167
|
+
|