Skip to main content

Maintainer: Joe Black <joeblack949@gmail.com>

Repository: https://www.github.com/joeblackwaslike/kubewait

Description

This project is designed to be used to pause init as an init container until required Kubernetes apps/services are up and ready.

Names passed to kubewait can be the names of Deployments or StatefulSets.

Usage

apiVersion: v1
kind: Pod
metadata:
  name: kubewait
  annotations:
    pod.beta.kubernetes.io/init-containers: |-
        [
            {
                "name": "kubewait",
                "image": "callforamerica/kubewait",
                "imagePullPolicy": "IfNotPresent",
                "args": ["app1", "app2"],
                "env": [
                    {
                        "name": "NAMESPACE",
                        "valueFrom": {
                            "fieldRef": {
                                "apiVersion": "v1",
                                "fieldPath": "metadata.namespace"
                            }
                        }
                    }
                ]
            }
        ]
spec:
  containers:
  - name: nginx
    image: nginx
    ports:
    - containerPort: 80

Download files

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

Source Distribution

kubewait-0.2.1.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file kubewait-0.2.1.tar.gz.

File metadata

  • Download URL: kubewait-0.2.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kubewait-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6163906145c862798e78a59cdbcbc95e19f75a159dbebbc2f66343074e76cb1a
MD5 ebcf286bfd91ac33e49a315950a03539
BLAKE2b-256 3440784e414c9eae32cc5a657a90b2a5b81d5bd97602effd76895eab6d573e08

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 file

0.2.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page