Public Repository

Last pushed: 2 years ago
Short Description
Simple sample application based on aweiteka/helloapache
Full Description

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
Docker Pull Command
Owner
vpavlin