This is a demo project to demonstrate how easy it is to deploy to Kubernetes using Codefresh.
To test this repo, you should:
- Clone the repository locally
- Edit
codefresh.ymlanddeployment.ymlfiles. Change$docker-imagewith the name of the docker image you would like to create. - Commit the changes and configure your repository in Codefresh UI
- Setup the following env variables to specify the Kubernetes cluster we'll use to deploy the project
KUBERNETES_USER
KUBERNETES_PASSWORD
KUBERNETES_SERVER (should include http/https prefix)
- Run the build in Codefresh.io
- Check that the deployment succeeded with kubectl:
kubectl get pods -l app=alpine-nginx