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.144.0.tar.gz (12.1 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.144.0.tar.gz.

File metadata

File hashes

Hashes for pragmatiks_kubernetes_provider-0.144.0.tar.gz
Algorithm Hash digest
SHA256 09d906144efe8383f3643e277e449047a14232feb46283a9b3ee8588ac6c998d
MD5 3a2513e42b8a4c6ea69be21749465a7f
BLAKE2b-256 5442b4ed5305177eef967ae92e599cc253e64ccdb644e6e4f1af9ad13bb3500d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pragmatiks_kubernetes_provider-0.144.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8986530cd67b1ada2683679c5a8bd43459ffa822139886e5c1ece8b2b12d8e5
MD5 38cffe2897d8455cf0e1cd5388f14040
BLAKE2b-256 eb37200822a41e264e002ab3c5048bfcf8684dac2ab1c91ecba7d8bac6cd415c

See more details on using hashes here.

Provenance

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