Public Information
This commit is contained in:
28
samples/sharepoint/solution1.yaml
Normal file
28
samples/sharepoint/solution1.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
components:
|
||||
# -- First, we switch the default SharePoint OFF
|
||||
sharepoint: false
|
||||
|
||||
# -- Then we enable two sharepoint instances to be used with different configurations
|
||||
sharepointa: true
|
||||
sharepointb: true
|
||||
|
||||
sharepointa:
|
||||
service:
|
||||
# -- Switching the service to "type" makes sure we select not only the component pods (in this case all replicas of sharepointa)
|
||||
# but rather **any** pod of type sharepoint.
|
||||
selector: "type"
|
||||
ingress:
|
||||
# -- The default contextPath for sharepointa is `nscale_spca` to make sure we have distinguishable paths for all sharepoint instances.
|
||||
# however, in this case we re-use the service as cluster service and die ingress as cluster ingress, so we switch to the general
|
||||
# contextPath, as if it was a single component deployment
|
||||
contextPath: "/nscale_spc"
|
||||
sharepointb:
|
||||
service:
|
||||
# -- The other SP Instance does not need a service any more, as it is selected by the cluster service above. So we switch off the component
|
||||
# service which also switches off the ingress as it would not have a backing service any more
|
||||
enabled: false
|
||||
ingress:
|
||||
# -- The default contextPath for sharepointb is `nscale_spcb` to make sure we have distinguishable paths for all sharepoint instances.
|
||||
# however, in this case we re-use the service as cluster service and die ingress as cluster ingress, so we switch to the general
|
||||
# contextPath, as if it was a single component deployment
|
||||
contextPath: "/nscale_spc"
|
||||
Reference in New Issue
Block a user