Skip to content

Latest commit

 

History

History

k8s-existing-cluster-only-sample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
page_type languages products
sample
yaml
json
azure-kubernetes-service
azure-marketplace

Existing cluster only sample

This sample illustrates how ISV can allow an application to deploy only on existing clusters. The CreateUIDefinition and ARM template files in this folder show how to use only existing cluster option. This sample also demostrate using cluster resource Id instead of resource name for setting the scope of the extension resource.

The resulting UI Definition will show up as follows:

Alt text

Explanation

UIDefinition

For setting the scope to the existing cluster, create ui definition should store id of the existing cluster in output variable as follows Alt text

ARM Template

Scope for extension resource should be set using the cluster resource id as follows

Alt text

Note

This sample includes only a small subset of the files. The files in this sample folder contains the additional changes required on top of the base sample application 'k8s-offer-azure-vote'.