kubernetes-py
A python module for Kubernetes.
File Explorer
Download Latest Version (.zip)- .gitkeep
- ci.yaml
- .gitkeep
- minikube.sh
- .gitkeep
- __init__.py
- BaseModel.py
- BaseUrls.py
- ListMeta.py
- ListModel.py
- __init__.py
- Affinity.py
- AttachedVolume.py
- AWSElasticBlockStoreVolumeSource.py
- Capabilities.py
- ComponentCondition.py
- ComponentStatus.py
- ComponentStatusList.py
- ConfigMap.py
- ConfigMapEnvSource.py
- ConfigMapKeySelector.py
- ConfigMapProjection.py
- ConfigMapVolumeSource.py
- Container.py
- ContainerImage.py
- ContainerPort.py
- ContainerState.py
- ContainerStateRunning.py
- ContainerStateTerminated.py
- ContainerStateWaiting.py
- ContainerStatus.py
- DaemonEndpoint.py
- DeleteOptions.py
- EmptyDirVolumeSource.py
- EnvVar.py
- EnvVarSource.py
- Event.py
- EventSource.py
- ExecAction.py
- GCEPersistentDiskVolumeSource.py
- GitRepoVolumeSource.py
- HorizontalPodAutoscaler.py
- HorizontalPodAutoscalerSpec.py
- HorizontalPodAutoscalerStatus.py
- HostPathVolumeSource.py
- HTTPGetAction.py
- Job.py
- JobCondition.py
- JobSpec.py
- JobStatus.py
- KeyToPath.py
- LoadBalancerIngress.py
- LoadBalancerStatus.py
- LocalObjectReference.py
- Namespace.py
- NamespaceSpec.py
- NamespaceStatus.py
- NFSVolumeSource.py
- Node.py
- NodeAddress.py
- NodeAffinity.py
- NodeCondition.py
- NodeDaemonEndpoints.py
- NodeList.py
- NodeSelector.py
- NodeSelectorRequirement.py
- NodeSelectorTerm.py
- NodeSpec.py
- NodeStatus.py
- NodeSystemInfo.py
- ObjectFieldSelector.py
- ObjectMeta.py
- ObjectReference.py
- OwnerReference.py
- PersistentVolume.py
- PersistentVolumeClaim.py
- PersistentVolumeClaimSpec.py
- PersistentVolumeClaimStatus.py
- PersistentVolumeClaimVolumeSource.py
- PersistentVolumeSpec.py
- PersistentVolumeStatus.py
- Pod.py
- PodAffinity.py
- PodAffinityTerm.py
- PodAntiAffinity.py
- PodCondition.py
- PodSecurityContext.py
- PodSpec.py
- PodStatus.py
- PodTemplateSpec.py
- PreferredSchedulingTerm.py
- Probe.py
- ReplicationController.py
- ReplicationControllerSpec.py
- ReplicationControllerStatus.py
- ResourceFieldSelector.py
- ResourceRequirements.py
- Secret.py
- SecretKeySelector.py
- SecretVolumeSource.py
- SecurityContext.py
- SELinuxOptions.py
- Service.py
- ServiceAccount.py
- ServicePort.py
- ServiceSpec.py
- ServiceStatus.py
- Taint.py
- TCPSocketAction.py
- Toleration.py
- Volume.py
- VolumeMount.py
- WeightedPodAffinityTerm.py
- __init__.py
- PetSet.py
- PetSetSpec.py
- PetSetStatus.py
- __init__.py
- CPUTargetUtilization.py
- CronJob.py
- CronJobSpec.py
- CronJobStatus.py
- CronJobTemplate.py
- DaemonSet.py
- DaemonSetSpec.py
- DaemonSetStatus.py
- Deployment.py
- DeploymentRollback.py
- DeploymentSpec.py
- DeploymentStatus.py
- DeploymentStrategy.py
- LabelSelector.py
- LabelSelectorRequirement.py
- ReplicaSet.py
- ReplicaSetSpec.py
- ReplicaSetStatus.py
- RollbackConfig.py
- RollingUpdateDeployment.py
- StatefulSet.py
- StatefulSetSpec.py
- StatefulSetStatus.py
- StorageClass.py
- SubresourceReference.py
- __init__.py
- CronJob.py
- CronJobSpec.py
- CronJobStatus.py
- CronJobTemplate.py
- ScheduledJob.py
- __init__.py
- __init__.py
- ConvertData.py
- Helpers.py
- HttpRequest.py
- __init__.py
- K8sComponentStatus.py
- K8sConfig.py
- K8sConfigMap.py
- K8sContainer.py
- K8sCronJob.py
- K8sDaemonSet.py
- K8sDeployment.py
- K8sEvent.py
- K8sExceptions.py
- K8sHorizontalPodAutoscaler.py
- K8sJob.py
- K8sNamespace.py
- K8sNode.py
- K8sObject.py
- K8sPersistentVolume.py
- K8sPersistentVolumeClaim.py
- K8sPetSet.py
- K8sPod.py
- K8sReplicaSet.py
- K8sReplicationController.py
- K8sSecret.py
- K8sService.py
- K8sServiceAccount.py
- K8sStatefulSet.py
- K8sStorageClass.py
- K8sVolume.py
- K8sVolumeMount.py
- config
- __init__.py
- _constants.py
- _utils.py
- BaseTest.py
- test_k8s_component_status.py
- test_k8s_config.py
- test_k8s_configmap.py
- test_k8s_container.py
- test_k8s_cronjob.py
- test_k8s_daemon_set.py
- test_k8s_deployment.py
- test_k8s_event.py
- test_k8s_hpa.py
- test_k8s_job.py
- test_k8s_namespace.py
- test_k8s_node.py
- test_k8s_object.py
- test_k8s_persistent_volume.py
- test_k8s_persistent_volume_claim.py
- test_k8s_pet_set.py
- test_k8s_pod.py
- test_k8s_replica_set.py
- test_k8s_replication_controller.py
- test_k8s_secret.py
- test_k8s_service.py
- test_k8s_service_account.py
- test_k8s_storage_class.py
- test_k8s_volume.py
- wip_stateful_cassandra.py
- wip_stateful_nginx.py
- wip_stateful_postgres.py
- .coveragerc
- .gitignore
- LICENSE.md
- MANIFEST.in
- Pipfile
- Pipfile.lock
- README.md
- setup.cfg
- setup.py
- TODO.md
# Installation Guide
1. Get the code
git clone https://github.com/mnubo/kubernetes-py
Downloads the entire project code from GitHub to your computer.
cd kubernetes-py
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip install kubernetes-py
Installs the package published on PyPI directly β no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install kubernetes-py
Installs the package published on PyPI directly β no need to clone the source.
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
