Azure Ephemeral Configuration File Definition
---------------------------------------------
The Azure Bootstrap container creates an Ephemeral K8S cluster on the Azure Cloud platform.
The container requires authentication credentials and other information about the cluster to deploy.
It requires a YAML configuration file with the format provided below.
apiVersion: v1
kind: AzureConfig
metadata:
name:
credentials:
tenant:
client:
secret:
spec:
resourceGroup:
region:
cluster:
k8sVersion:
vmSize:
replicas:
kubeconfig:
It also accepts the JSON file format.
{
"apiVersion":"v1",
"kind":"AzureConfig",
"metadata":{
"name":""
},
"credentials":{
"tenant":"",
"client":"",
"secret":""
},
"spec":{
"resourceGroup":"",
"region":"",
"cluster":{
"k8sVersion":"",
"vmSize":"",
"replicas":,
"kubeconfig":""
}
}
}
The expected location for the Azure bootstrap configuration file is dictated by the "volume" mount
specified in the Airship config file (bootstrapInfo.ephemeral.container.volume).
For example, /home/esidshi/.airship folder and shown in the snippet below:
apiVersion: airshipit.org/v1alpha1
bootstrapInfo:
ephemeral:
container:
volume: /home/esidshi/.airship:/kube