Pause container init until required kube services are ready,
Project description
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
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
kubewait-0.2.1.tar.gz
(3.7 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6163906145c862798e78a59cdbcbc95e19f75a159dbebbc2f66343074e76cb1a |
|
MD5 | ebcf286bfd91ac33e49a315950a03539 |
|
BLAKE2b-256 | 3440784e414c9eae32cc5a657a90b2a5b81d5bd97602effd76895eab6d573e08 |