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.112.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.112.0.tar.gz.

File metadata

File hashes

Hashes for pragmatiks_kubernetes_provider-0.112.0.tar.gz
Algorithm Hash digest
SHA256 2b8185b3aecaa3dfcf60c3bf46b0f138d161be92133131079bfb219de5ebc446
MD5 a1afdab3d05bb94d2abd5a2a284da322
BLAKE2b-256 a472a6303ce7de3d4dbbb1174557f2366e7bb8e3b080c64ffa9272ef5e8d49d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pragmatiks_kubernetes_provider-0.112.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.112.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pragmatiks_kubernetes_provider-0.112.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72343f17ea5cc8ea81f23253165e405b65c099f2cc37f41d94e58cd48400ae00
MD5 5b9a5a53058d9445ccb5ed083fa5c62f
BLAKE2b-256 e35905a8ffcfb4de68f562a749ba64e85435ba4b3f28ffd3bb41a7ebe0e8d4d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pragmatiks_kubernetes_provider-0.112.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