Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joeblackwaslike/kubewait
An init container that pauses the container start until required apps/services are ready
https://github.com/joeblackwaslike/kubewait
Last synced: about 2 months ago
JSON representation
An init container that pauses the container start until required apps/services are ready
- Host: GitHub
- URL: https://github.com/joeblackwaslike/kubewait
- Owner: joeblackwaslike
- License: other
- Created: 2017-01-23T08:16:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-25T11:29:51.000Z (almost 8 years ago)
- Last Synced: 2024-10-14T23:36:44.271Z (3 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE
Awesome Lists containing this project
README
kubewait
~~~~~~~~Maintainer: Joe Black
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
-------.. code-block:: yaml
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