Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
[Cluster Object Model] Generate necessary service config based on clu…
Browse files Browse the repository at this point in the history
…ster type (#4036)

* init commit

* [Cluster Object Model] Check laucher-type and log-type based on cluster-type. (#4038)

* Remove .k8s.yaml logic. And remove launcher-type & log-type

* [Cluster Objec Model]Don't check hadoop rm uri when in pure k8s cluster. (#4052)

* [Rest-server] Add env, volume based on the cluster-type (#4058)

* Remove yarn config from pylon when cluster-type is k8s (#4063)

* [cluster object model] Document update. (#4066)

* From openpai_parser_type  to service_type
  • Loading branch information
ydye authored Jan 2, 2020
1 parent 1b588a7 commit d659ffd
Show file tree
Hide file tree
Showing 50 changed files with 301 additions and 138 deletions.
21 changes: 15 additions & 6 deletions deployment/clusterObjectModel/cluster_object_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,25 @@ def get_service_model_list(self):
def get_service_parser(self, service_name, cluster_type):

sys.path.insert(0, '{0}/../../src/{1}/config'.format(package_directory_com, service_name))
default_path = "{0}/../../src/{1}/config/{1}.{2}.yaml".format(package_directory_com, service_name, cluster_type)
if not file_handler.file_exist_or_not(default_path):
default_path = "{0}/../../src/{1}/config/{1}.yaml".format(package_directory_com, service_name)
default_path = "{0}/../../src/{1}/config/{1}.yaml".format(package_directory_com, service_name)

# Prepare Service Configuration
layout = self.layout

default_service_cfg = []
service_type = "common"
default_service_cfg = {}
if file_handler.file_exist_or_not(default_path):
default_service_cfg = file_handler.load_yaml_config(default_path)
if default_service_cfg is not None and "service_type" in default_service_cfg:
service_type = default_service_cfg["service_type"]

overwrite_service_cfg = {}
if self.overwrite_service_configuration is not None and service_name in self.overwrite_service_configuration:
overwrite_service_cfg = self.overwrite_service_configuration[service_name]
if "service_type" in overwrite_service_cfg:
service_type = overwrite_service_cfg["service_type"]

if service_type != "common" and service_type != cluster_type:
return None

# Init parser instance
parser_module = importlib.import_module(service_name.replace("-", "_"))
Expand Down Expand Up @@ -128,7 +133,11 @@ def service_config(self):

service_model_list = self.get_service_model_list()
for service_name in service_model_list:
parser_dict[service_name] = self.get_service_parser(service_name, cluster_type)
parser = self.get_service_parser(service_name, cluster_type)
if parser is None:
continue
parser_dict[service_name] = parser

return self.load_config(parser_dict)

def kubernetes_config(self):
Expand Down
7 changes: 4 additions & 3 deletions deployment/clusterObjectModel/test/test_template_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,12 @@ def test_template_generate(self):

subdir_list = directory_handler.get_subdirectory_list(src_path)
for subdir in subdir_list:

service_deploy_dir = "{0}/{1}/deploy".format(src_path, subdir)
service_deploy_conf_path = "{0}/{1}/deploy/service.yaml".format(src_path, subdir)
service_deploy_conf_path = "{0}/{1}/deploy/service.yaml".format(src_path, subdir)
if file_handler.directory_exits(service_deploy_dir) and file_handler.file_exist_or_not(service_deploy_conf_path):
service_list.append(subdir)
service_conf = file_handler.load_yaml_config(service_deploy_conf_path)
if ("cluster-type" not in service_conf) or ("cluster-type" in service_conf and "yarn" in service_conf["cluster-type"]):
service_list.append(subdir)

for serv in service_list:
service_conf = file_handler.load_yaml_config("{0}/{1}/deploy/service.yaml".format(src_path, serv))
Expand Down
5 changes: 2 additions & 3 deletions deployment/quick-start/services-configuration.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ cluster:


rest-server:
# # launcher type. k8s or yarn
# launcher-type: k8s
# database admin username
default-pai-admin-username: admin
# database admin password
Expand All @@ -76,12 +74,13 @@ rest-server:
# uncomment following section if you want to customize the port of web portal
# webportal:
# server-port: 9286
# log-type: yarn


# uncomment following if you want to change customeize grafana
# grafana:
# port: 3000


# uncomment following if you want to change customeize drivers
#drivers:
# set-nvidia-runtime: false
Expand Down
8 changes: 8 additions & 0 deletions docs/pai-management/doc/how-to-add-new-conm.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ src/${service_name}/config/${service_name}.yaml

${service_name}.yaml
```yaml
# The key `service_type` is designed for cluster-object-model. And don't use it in other place.
# Now, you could configure this key with one of ['yarn', 'common', 'k8s'].
# When service_type is yarn, the service's configuration will be generated if the cluster-type is yarn.
# When service_type is k8s, the service's configuration will be generated if the cluster-type is k8s.
# When service_type is common, the service's configuration will be generated in both of the cluster-type.
# If the key is missing, default value will be 'common'.
service_type: "yarn"

# key : value
service-a-key1: default—value1

Expand Down
21 changes: 20 additions & 1 deletion src/alert-manager/config/alert-manager.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# Copyright (c) Microsoft Corporation
# All rights reserved.
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
# to permit persons to whom the Software is furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "common"

port: 9093
use-pylon: False
repeat-interval: '24h'
repeat-interval: '24h'
2 changes: 2 additions & 0 deletions src/cleaner/config/cleaner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "yarn"

threshold: 90
interval: 60
1 change: 1 addition & 0 deletions src/cluster/config/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "common"

common:
cluster-id: pai
Expand Down
2 changes: 2 additions & 0 deletions src/device-plugin/config/device-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "k8s"

devices:
- "nvidia.com/gpu"
- "rdma/hca"
1 change: 1 addition & 0 deletions src/drivers/config/drivers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "yarn"

set-nvidia-runtime: false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

server-port: 9286
log-type: log-manager
service_type: "k8s"
19 changes: 19 additions & 0 deletions src/grafana/config/grafana.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
# Copyright (c) Microsoft Corporation
# All rights reserved.
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
# to permit persons to whom the Software is furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "common"

port: 3000
1 change: 1 addition & 0 deletions src/hadoop-batch-job/config/hadoop-batch-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "yarn"
2 changes: 2 additions & 0 deletions src/hadoop-data-node/config/hadoop-data-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "yarn"

storage_path:
3 changes: 3 additions & 0 deletions src/hadoop-jobhistory/config/hadoop-jobhistory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "yarn"


2 changes: 2 additions & 0 deletions src/hadoop-name-node/config/hadoop-name-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "yarn"

2 changes: 2 additions & 0 deletions src/hadoop-node-manager/config/hadoop-node-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "yarn"

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "yarn"

virtualClusters:
default:
description: Default VC.
Expand Down
4 changes: 4 additions & 0 deletions src/hivedscheduler/config/hivedscheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


service_type: "k8s"

webservice-port: 30096

19 changes: 19 additions & 0 deletions src/internal-storage/config/internal-storage.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# Copyright (c) Microsoft Corporation
# All rights reserved.
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
# to permit persons to whom the Software is furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "common"

enable: false
type: hostPath
root-path: /mnt/paiInternal
Expand Down
2 changes: 2 additions & 0 deletions src/job-exit-spec/config/job-exit-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "yarn"

################################################################################
# PAI Job ExitSpec Schema
################################################################################
Expand Down
32 changes: 17 additions & 15 deletions src/job-exporter/config/job-exporter.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
# Copyright (c) Microsoft Corporation
# # All rights reserved.
# #
# # MIT License
# #
# # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# # documentation files (the "Software"), to deal in the Software without restriction, including without limitation
# # the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
# # to permit persons to whom the Software is furnished to do so, subject to the following conditions:
# # The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
# #
# # THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
# # BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# All rights reserved.
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
# to permit persons to whom the Software is furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "common"

port: 9102
logging-level: INFO
Expand Down
2 changes: 1 addition & 1 deletion src/job-exporter/deploy/job-exporter.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
- name: NVIDIA_VISIBLE_DEVICES
value: all
- name: LAUNCHER_TYPE
value: {{ cluster_cfg['rest-server']['launcher-type'] }}
value: {{ cluster_cfg["cluster"]["common"]["cluster-type"] }}
{%- if cluster_cfg['cluster']['common']['deploy-in-aks'] == "true" %}
- name: DEPLOY_ENV
value: aks
Expand Down
2 changes: 2 additions & 0 deletions src/k8s-dashboard/config/k8s-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "common"
2 changes: 2 additions & 0 deletions src/k8s-job-exit-spec/config/k8s-job-exit-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "k8s"

################################################################################
# PAI Job ExitSpec Schema
################################################################################
Expand Down
2 changes: 2 additions & 0 deletions src/log-manager/config/log-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "k8s"

port: 9103
32 changes: 17 additions & 15 deletions src/node-exporter/config/node-exporter.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
# Copyright (c) Microsoft Corporation
# # All rights reserved.
# #
# # MIT License
# #
# # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# # documentation files (the "Software"), to deal in the Software without restriction, including without limitation
# # the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
# # to permit persons to whom the Software is furnished to do so, subject to the following conditions:
# # The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
# #
# # THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
# # BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# All rights reserved.
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
# to permit persons to whom the Software is furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "common"

port: 9100
19 changes: 19 additions & 0 deletions src/postgresql/config/postgresql.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# Copyright (c) Microsoft Corporation
# All rights reserved.
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
# to permit persons to whom the Software is furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

service_type: "common"

enable: false
user: root
passwd: rootpass
Expand Down
Loading

0 comments on commit d659ffd

Please sign in to comment.