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.147.0.tar.gz (13.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.147.0.tar.gz.

File metadata

File hashes

Hashes for pragmatiks_kubernetes_provider-0.147.0.tar.gz
Algorithm Hash digest
SHA256 ea943223e9081222f7ef9e865a1a889bf074eab0e6c937e8dd18a794cd2db0b7
MD5 4f29eff3d0b0b2aa31fcac243484b644
BLAKE2b-256 bc387a8a12091b788acf39584f07481ace748f4f99f6f4729782daea38ff2852

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pragmatiks_kubernetes_provider-0.147.0-py3-none-any.whl
Algorithm Hash digest
SHA256 588e41f0e850115a2cd2018c9fb72a06f2d8c699005aa31f4ba07ebfa3aae47d
MD5 e2a8bce2944bef5a52c8830872d04e00
BLAKE2b-256 600a94ec2af32ef8a5a2b9fac087a8295d086b9af79493b48af13f4b7750c824

See more details on using hashes here.

Provenance

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