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.

By default, all code services are built using buildpacks with Ubuntu Trusty (14.04) as the underlying operating system. We also provide the ability for customers to build their applications with Ubuntu Xenial (16.04) as the underlying operating system.

Warning! Changing what stack your application is built with is likely to require changes to application and/or its dependencies. We recommend always verifying that your code will build appropriately after changing the stack in a development, staging, or other pre-production environment.

Instructions

Configure to build using the Xenial-based (16.04) stack

datica -E {{ENV NAME}} vars set {{SERVICE LABEL}} -v STACK=datica-16

All future code pushes to the service will build using the specified stack.

Configure to build using the Trusty-based (14.04) stack

Code services that do not have the STACK variable set will build with the Ubuntu 14 stack by default, but you can specify the Trusty-based (14.04) based stack by running the following command for your environment and service.

datica -E {{ENV NAME}} vars set {{SERVICE LABEL}} -v STACK=cedar-14

All future code pushes to the service will build using the specified stack.