Simple sample application based on aweiteka/helloapache
1.1K
Derived from aweiteka/helloapache
This is an atomic application based on the nulecule specification. The only supported provider is kubernetes. You'll need to run this from a workstation that has the atomic CLI and kubectl client that can connect to a kubernetes master.
Create an answerfile.conf with these contents
general:
provider: kubernetes
From the directory in step one, install the app files and review if desired
$ [sudo] atomic install vpavlin/helloapache
Run the application. It's a single pod. We're just saying “hello, world!” here.
$ [sudo] atomic run vpavlin/helloappache
...
fedoraapache
This should create a kubernetes pod. Once its state is “Running” curl the minion it's running on.
$ kubectl get pod fedoraapache
POD IP CONTAINER(S) IMAGE(S) HOST LABELS STATUS
fedoraapache 172.17.0.8 fedoraapache fedora/apache 10.3.9.216/ name=fedoraapache Running
$ curl 10.3.9.216
Apache
Content type
Image
Digest
sha256:05320f4c0…
Size
113.4 MB
Last updated
almost 11 years ago
docker pull vpavlin/helloapache