Skip to main content

Generic Kubernetes resources using lightkube

Project description

Kubernetes Provider

Generic Kubernetes resources for Pragmatiks using lightkube.

Resources

Resource Description
kubernetes/service Kubernetes Service (ClusterIP, NodePort, LoadBalancer)
kubernetes/configmap Kubernetes ConfigMap
kubernetes/secret Kubernetes Secret
kubernetes/statefulset Kubernetes StatefulSet with PVC templates

Usage

Resources require a GKE cluster dependency for authentication:

resources:
  my-cluster:
    provider: gcp
    resource: gke
    config:
      project_id: my-project
      location: europe-west4
      name: my-cluster
      credentials: ${{ secrets.gcp_credentials }}

  my-service:
    provider: kubernetes
    resource: service
    config:
      cluster: ${{ my-cluster }}
      namespace: default
      type: ClusterIP
      selector:
        app: my-app
      ports:
        - port: 80
          target_port: 8080

Installation

pip install pragmatiks-kubernetes-provider

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pragmatiks_kubernetes_provider-0.105.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file pragmatiks_kubernetes_provider-0.105.0.tar.gz.

File metadata

File hashes

Hashes for pragmatiks_kubernetes_provider-0.105.0.tar.gz
Algorithm Hash digest
SHA256 3ad5e5dfa1a6313cc0b783705ae6bc8a83327ae6fe9db5d7fcace1ba9eea41a6
MD5 3b658c994753d1a814a044c95833e92b
BLAKE2b-256 54333d76defb2fc7803ca29717ea5de1c05d3e528ef986b16079cf479229c2f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pragmatiks_kubernetes_provider-0.105.0.tar.gz:

Publisher: publish.yaml on pragmatiks/pragma-providers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pragmatiks_kubernetes_provider-0.105.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pragmatiks_kubernetes_provider-0.105.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f966bdc5d500ec2690b7095012efd456cc948d019896c9bfa177fd13f75016a
MD5 3c9c749cc9ea5d3ae9905734264bb5be
BLAKE2b-256 e52350e5ffa0ba01f53e060833cdf44ac0c9f367cd38cd18ab29c616198de63d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pragmatiks_kubernetes_provider-0.105.0-py3-none-any.whl:

Publisher: publish.yaml on pragmatiks/pragma-providers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page