Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teemow/conair-kubernetes
https://github.com/teemow/conair-kubernetes
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/teemow/conair-kubernetes
- Owner: teemow
- Created: 2014-07-29T16:39:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-31T15:40:38.000Z (over 10 years ago)
- Last Synced: 2024-04-23T18:52:01.859Z (8 months ago)
- Language: Shell
- Size: 5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Conair Kubernetes Container
Run systemd, etcd, kubernetes and docker in a container.
## Requirements
* Conair
## Create a Kubernetes container
This is a short step-by-step example on how to create a Kubernetes container with conair. Downloading conair and the base image is the easiest option. But you can also build those yourself. Check the conair repository for instructions.
```
# fetch the latest conair binary
wget http://conair.teemow.com/bin/conair
chmod +x ./conair
alias conair="sudo $(pwd)/conair"# initialize host setup
conair init# create a base image
conair pull base# create a coreos image
git clone https://github.com/teemow/conair-kubernetes
cd conair-kubernetes
conair build kubernetes# run your kubernetes container
conair run kubernetes# check if it is running
machinectl status kubernetes# access your coreos (user: core, pass: coreos)
ssh core@$(conair ip kubernetes)
```## kubecfg access from outside of the container
```
kubecfg -h="http://$(conair ip kubernetes):8080/" list /pods
```