Compliant Kubernetes Service documentation has moved

Please note: You are not reading Kubernetes documentation. If you're looking for Compliant Kubernetes Service documentation, it has moved. Read more here.

How do I deploy to my Datica environment?

First-Time Setup

  1. If you haven’t already, install The Platform CLI.
  2. Navigate to the root directory of your local repository (this is the directory that contains the .git directory).
  3. Run the init command if you have not signed in already (the init command does this for you), replacing MyEnvName and my-code-service with your environment’s name and your code service’s name both found in the Platform dashboard:
   # If you have not signed in with the cli yet
   datica init

Deploying Code

Push your local master branch to the datica remote (created when you ran init):

git push datica master

If the branch you want to push is not master, run this instead:

git push datica my-branch-name:master

The build output will stream from Datica’s servers to your terminal. If the build is successful, your service will be redeployed.

See also