Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 959 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 959 Bytes

Kontena Pharos Hello World

Prerequisities

  • working Kontena Pharos cluster
  • Kontena Pharos addons:
    • ingress-nginx
    • cert-manager
  • dns name pointed to your Kontena Pharos cluster
  • Kontena Mortar installed for deploying the YAML manifests

Deployment

$ mortar fire --var host=hello.mydomain.com --var [email protected] deploy/ hello

where hello.mydomain.com is a DNS name that points to the hello-world app. Note: you need to configure this outside of Kontena Pharos.

Deployment does the following steps:

  • creates hello-world namespace
  • adds ResourceQuota to the namespace
  • adds Let's Encrypt certificate Issuer to the namespace
  • creates Deployment to the namespace
  • creates Service to the namespace that targets the deployment
  • creates Ingress for the given host that targets the service
  • creates Certificate for the given host