Add Drivetrain services on k8s
Change-Id: I6312f513257dbee60eb90a80f90627bae55928ce
Related-prod: PROD:27352 PROD-27350
diff --git a/kubernetes/control/services/drivetrain/glusterfs_cluster.yml b/kubernetes/control/services/drivetrain/glusterfs_cluster.yml
new file mode 100644
index 0000000..cdf462a
--- /dev/null
+++ b/kubernetes/control/services/drivetrain/glusterfs_cluster.yml
@@ -0,0 +1,28 @@
+parameters:
+ _param:
+ glusterfs_node01_address: ${_param:cluster_node01_address}
+ glusterfs_node02_address: ${_param:cluster_node02_address}
+ glusterfs_node03_address: ${_param:cluster_node03_address}
+ kubernetes:
+ control:
+ endpoints:
+ glusterfs:
+ service_enabled: true
+ create: true
+ service: glusterfs
+ cluster: drivetrain
+ namespace: drivetrain
+ ports:
+ - port: 1
+ name: endpoint
+ type: ClusterIP
+ subsets:
+ - ip: ${_param:glusterfs_node01_address}
+ port:
+ number: 1
+ - ip: ${_param:glusterfs_node02_address}
+ port:
+ number: 1
+ - ip: ${_param:glusterfs_node03_address}
+ port:
+ number: 1