From da8bd0499c80bc576531189ef35d250ca4ed1689 Mon Sep 17 00:00:00 2001 From: Kaspars Skels Date: Thu, 15 Aug 2019 10:08:21 -0500 Subject: Move ceph to SSD disk and CNTT type polish Change-Id: Id661d4107efac128fd973c98f06805c44083e93f Signed-off-by: Kaspars Skels --- site/intel-pod17/profiles/region.yaml | 33 ++++--- .../secrets/passphrases/grego_crypt_password.yaml | 12 +++ .../passphrases/kasparss_crypt_password.yaml | 12 +++ .../secrets/passphrases/ubuntu_crypt_password.yaml | 12 --- .../charts/ucp/ceph/ceph-client-update.yaml | 26 ------ .../software/charts/ucp/ceph/ceph-client.yaml | 100 --------------------- .../software/charts/ucp/ceph/ceph-osd.yaml | 30 ------- .../software/charts/ucp/divingbell/divingbell.yaml | 25 ++---- type/cntt/baremetal/bootactions/promjoin.yaml | 32 +++++++ type/cntt/bootactions/promjoin.yaml | 32 ------- type/cntt/profiles/host/dp-intel-s2600wt.yaml | 21 ++--- .../charts/osh/openstack-tenant-ceph/ceph-osd.yaml | 6 +- .../charts/ucp/ceph/ceph-client-update.yaml | 26 ++++++ .../cntt/software/charts/ucp/ceph/ceph-client.yaml | 100 +++++++++++++++++++++ type/cntt/software/charts/ucp/ceph/ceph-osd.yaml | 30 +++++++ .../software/charts/ucp/comps/chart-group.yaml | 14 --- type/cntt/software/charts/ucp/comps/drydock.yaml | 25 ------ .../software/charts/ucp/comps/maas-scaled.yaml | 32 ------- type/cntt/software/charts/ucp/comps/maas.yaml | 29 ------ .../software/charts/ucp/drydock/chart-group.yaml | 14 +++ type/cntt/software/charts/ucp/drydock/drydock.yaml | 25 ++++++ .../software/charts/ucp/drydock/maas-scaled.yaml | 32 +++++++ type/cntt/software/charts/ucp/drydock/maas.yaml | 29 ++++++ 23 files changed, 346 insertions(+), 351 deletions(-) create mode 100644 site/intel-pod17/secrets/passphrases/grego_crypt_password.yaml create mode 100644 site/intel-pod17/secrets/passphrases/kasparss_crypt_password.yaml delete mode 100644 site/intel-pod17/secrets/passphrases/ubuntu_crypt_password.yaml delete mode 100644 site/intel-pod17/software/charts/ucp/ceph/ceph-client-update.yaml delete mode 100644 site/intel-pod17/software/charts/ucp/ceph/ceph-client.yaml delete mode 100644 site/intel-pod17/software/charts/ucp/ceph/ceph-osd.yaml create mode 100644 type/cntt/baremetal/bootactions/promjoin.yaml delete mode 100644 type/cntt/bootactions/promjoin.yaml create mode 100644 type/cntt/software/charts/ucp/ceph/ceph-client-update.yaml create mode 100644 type/cntt/software/charts/ucp/ceph/ceph-client.yaml create mode 100644 type/cntt/software/charts/ucp/ceph/ceph-osd.yaml delete mode 100644 type/cntt/software/charts/ucp/comps/chart-group.yaml delete mode 100644 type/cntt/software/charts/ucp/comps/drydock.yaml delete mode 100644 type/cntt/software/charts/ucp/comps/maas-scaled.yaml delete mode 100644 type/cntt/software/charts/ucp/comps/maas.yaml create mode 100644 type/cntt/software/charts/ucp/drydock/chart-group.yaml create mode 100644 type/cntt/software/charts/ucp/drydock/drydock.yaml create mode 100644 type/cntt/software/charts/ucp/drydock/maas-scaled.yaml create mode 100644 type/cntt/software/charts/ucp/drydock/maas.yaml diff --git a/site/intel-pod17/profiles/region.yaml b/site/intel-pod17/profiles/region.yaml index f8ac846..317f29a 100644 --- a/site/intel-pod17/profiles/region.yaml +++ b/site/intel-pod17/profiles/region.yaml @@ -5,12 +5,18 @@ schema: 'drydock/Region/v1' metadata: schema: 'metadata/Document/v1' # NEWSITE-CHANGEME: Replace with the site name - name: seaworthy + name: intel-pod17 layeringDefinition: abstract: false layer: site storagePolicy: cleartext substitutions: + - dest: + path: .repositories.main_archive + src: + schema: pegleg/SoftwareVersions/v1 + name: software-versions + path: .packages.repositories.main_archive # NEWSITE-CHANGEME: Substitutions from deckhand SSH public keys into the # list of authorized keys which MaaS will register for the build-in "ubuntu" # account during the PXE process. Create a substitution rule for each SSH @@ -18,29 +24,22 @@ metadata: # shooting problems before UAM or UAM-lite is operational). SSH keys are # stored as secrets in site/seaworthy/secrets. - dest: - # Add/replace the first item in the list + # Add/replace the item in the list path: .authorized_keys[0] src: schema: deckhand/PublicKey/v1 # This should match the "name" metadata of the SSH key which will be - # substituted, located in site/seaworthy/secrets folder. - name: airship_ssh_public_key + # substituted, located in site/intel-pod17/secrets folder. + name: grego_ssh_public_key path: . - dest: - path: .repositories.main_archive + # Increment the list index + path: .authorized_keys[1] src: - schema: pegleg/SoftwareVersions/v1 - name: software-versions - path: .packages.repositories.main_archive - # Second key example - #- dest: - # # Increment the list index - # path: .authorized_keys[1] - # src: - # schema: deckhand/PublicKey/v1 - # # your ssh key - # name: MY_USER_ssh_public_key - # path: . + schema: deckhand/PublicKey/v1 + # your ssh key + name: kasparss_ssh_public_key + path: . data: tag_definitions: [] # This is the list of SSH keys which MaaS will register for the built-in diff --git a/site/intel-pod17/secrets/passphrases/grego_crypt_password.yaml b/site/intel-pod17/secrets/passphrases/grego_crypt_password.yaml new file mode 100644 index 0000000..3084c5d --- /dev/null +++ b/site/intel-pod17/secrets/passphrases/grego_crypt_password.yaml @@ -0,0 +1,12 @@ +--- +schema: deckhand/Passphrase/v1 +metadata: + schema: metadata/Document/v1 + name: grego_crypt_password + layeringDefinition: + abstract: false + layer: site + storagePolicy: cleartext +# Pass: password123 +data: $6$qgvZ3LC9.t59Akqy$HAJfJpdrN8Ld9ssGyjFPzyJ3WUGN.ucqhSyA25LFjBrSYboVFgX8wLomRwlf5YIn1siaXHSh4JaPJED3BO36J1 +... diff --git a/site/intel-pod17/secrets/passphrases/kasparss_crypt_password.yaml b/site/intel-pod17/secrets/passphrases/kasparss_crypt_password.yaml new file mode 100644 index 0000000..e0e57f3 --- /dev/null +++ b/site/intel-pod17/secrets/passphrases/kasparss_crypt_password.yaml @@ -0,0 +1,12 @@ +--- +schema: deckhand/Passphrase/v1 +metadata: + schema: metadata/Document/v1 + name: kasparss_crypt_password + layeringDefinition: + abstract: false + layer: site + storagePolicy: cleartext +# Pass: password123 +data: $6$qgvZ3LC9.t59Akqy$HAJfJpdrN8Ld9ssGyjFPzyJ3WUGN.ucqhSyA25LFjBrSYboVFgX8wLomRwlf5YIn1siaXHSh4JaPJED3BO36J1 +... diff --git a/site/intel-pod17/secrets/passphrases/ubuntu_crypt_password.yaml b/site/intel-pod17/secrets/passphrases/ubuntu_crypt_password.yaml deleted file mode 100644 index 4d60468..0000000 --- a/site/intel-pod17/secrets/passphrases/ubuntu_crypt_password.yaml +++ /dev/null @@ -1,12 +0,0 @@ ---- -schema: deckhand/Passphrase/v1 -metadata: - schema: metadata/Document/v1 - name: ubuntu_crypt_password - layeringDefinition: - abstract: false - layer: site - storagePolicy: cleartext -# Pass: password123 -data: $6$qgvZ3LC9.t59Akqy$HAJfJpdrN8Ld9ssGyjFPzyJ3WUGN.ucqhSyA25LFjBrSYboVFgX8wLomRwlf5YIn1siaXHSh4JaPJED3BO36J1 -... diff --git a/site/intel-pod17/software/charts/ucp/ceph/ceph-client-update.yaml b/site/intel-pod17/software/charts/ucp/ceph/ceph-client-update.yaml deleted file mode 100644 index eb921b8..0000000 --- a/site/intel-pod17/software/charts/ucp/ceph/ceph-client-update.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -# The purpose of this file is to define environment-specific parameters for ceph -# client update -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: ucp-ceph-client-update - layeringDefinition: - abstract: false - layer: site - parentSelector: - name: ucp-ceph-client-update-global - actions: - - method: merge - path: . - storagePolicy: cleartext -data: - values: - conf: - pool: - target: - # NEWSITE-CHANGEME: Total number of OSDs. Does not need to change if - # your HW matches this site's HW. Verify for your environment. - # 8 OSDs per node x 3 nodes = 24 - osd: 3 -... diff --git a/site/intel-pod17/software/charts/ucp/ceph/ceph-client.yaml b/site/intel-pod17/software/charts/ucp/ceph/ceph-client.yaml deleted file mode 100644 index e1e8ecf..0000000 --- a/site/intel-pod17/software/charts/ucp/ceph/ceph-client.yaml +++ /dev/null @@ -1,100 +0,0 @@ ---- -# The purpose of this file is to define envrionment-specific parameters for the -# ceph client -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: ucp-ceph-client - layeringDefinition: - abstract: false - layer: site - parentSelector: - name: ucp-ceph-client-global - actions: - - method: merge - path: . - storagePolicy: cleartext -data: - values: - conf: - pool: - target: - # NEWSITE-CHANGEME: The number of OSDs per ceph node. Does not need to - # change if your deployment HW matches this site's HW. - osd: 1 - spec: - # RBD pool - - name: rbd - application: rbd - replication: 1 - percent_total_data: 40 - - name: cephfs_metadata - application: cephfs - replication: 1 - percent_total_data: 5 - - name: cephfs_data - application: cephfs - replication: 1 - percent_total_data: 10 - # RadosGW pools - - name: .rgw.root - application: rgw - replication: 1 - percent_total_data: 0.1 - - name: default.rgw.control - application: rgw - replication: 1 - percent_total_data: 0.1 - - name: default.rgw.data.root - application: rgw - replication: 1 - percent_total_data: 0.1 - - name: default.rgw.gc - application: rgw - replication: 1 - percent_total_data: 0.1 - - name: default.rgw.log - application: rgw - replication: 1 - percent_total_data: 0.1 - - name: default.rgw.intent-log - application: rgw - replication: 1 - percent_total_data: 0.1 - - name: default.rgw.meta - application: rgw - replication: 1 - percent_total_data: 0.1 - - name: default.rgw.usage - application: rgw - replication: 1 - percent_total_data: 0.1 - - name: default.rgw.users.keys - application: rgw - replication: 1 - percent_total_data: 0.1 - - name: default.rgw.users.email - application: rgw - replication: 1 - percent_total_data: 0.1 - - name: default.rgw.users.swift - application: rgw - replication: 1 - percent_total_data: 0.1 - - name: default.rgw.users.uid - application: rgw - replication: 1 - percent_total_data: 0.1 - - name: default.rgw.buckets.extra - application: rgw - replication: 1 - percent_total_data: 0.1 - - name: default.rgw.buckets.index - application: rgw - replication: 1 - percent_total_data: 3 - - name: default.rgw.buckets.data - application: rgw - replication: 1 - percent_total_data: 34.8 -... diff --git a/site/intel-pod17/software/charts/ucp/ceph/ceph-osd.yaml b/site/intel-pod17/software/charts/ucp/ceph/ceph-osd.yaml deleted file mode 100644 index 8cf291a..0000000 --- a/site/intel-pod17/software/charts/ucp/ceph/ceph-osd.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- -# The purpose of this file is to define environment-specific parameters for -# ceph-osd -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: ucp-ceph-osd - layeringDefinition: - abstract: false - layer: site - parentSelector: - name: ucp-ceph-osd-global - actions: - - method: replace - path: .values.conf.storage.osd - - method: merge - path: . - storagePolicy: cleartext -data: - values: - conf: - storage: - osd: - - data: - type: block-logical - location: /dev/sdb - journal: - type: directory - location: /var/lib/openstack-helm/ceph/osd/osd-sdb -... diff --git a/site/intel-pod17/software/charts/ucp/divingbell/divingbell.yaml b/site/intel-pod17/software/charts/ucp/divingbell/divingbell.yaml index db6ef66..97e607e 100644 --- a/site/intel-pod17/software/charts/ucp/divingbell/divingbell.yaml +++ b/site/intel-pod17/software/charts/ucp/divingbell/divingbell.yaml @@ -25,44 +25,31 @@ metadata: path: .values.conf.uamlite.users[0].user_sshkeys[0] src: schema: deckhand/PublicKey/v1 - name: airship_ssh_public_key + name: grego_ssh_public_key path: . - dest: path: .values.conf.uamlite.users[0].user_crypt_passwd src: schema: deckhand/Passphrase/v1 - name: ubuntu_crypt_password + name: grego_crypt_password path: . - dest: path: .values.conf.uamlite.users[1].user_sshkeys[0] src: schema: deckhand/PublicKey/v1 - name: airship_ssh_public_key - path: . - - dest: - path: .values.conf.uamlite.users[2].user_sshkeys[0] - src: - schema: deckhand/PublicKey/v1 - name: grego_ssh_public_key + name: kasparss_ssh_public_key path: . - dest: - path: .values.conf.uamlite.users[3].user_sshkeys[0] + path: .values.conf.uamlite.users[1].user_crypt_passwd src: - schema: deckhand/PublicKey/v1 - name: kasparss_ssh_public_key + schema: deckhand/Passphrase/v1 + name: kasparss_crypt_password path: . - data: values: conf: uamlite: users: - - user_name: ubuntu - user_sudo: true - user_sshkeys: [] - - user_name: airship - user_sudo: true - user_sshkeys: [] - user_name: grego user_sudo: true user_sshkeys: [] diff --git a/type/cntt/baremetal/bootactions/promjoin.yaml b/type/cntt/baremetal/bootactions/promjoin.yaml new file mode 100644 index 0000000..1178c10 --- /dev/null +++ b/type/cntt/baremetal/bootactions/promjoin.yaml @@ -0,0 +1,32 @@ +--- +# This file defines a boot action which is responsible for fetching the node's +# promjoin script from the promenade API. This is the script responsible for +# installing kubernetes on the node and joining the kubernetes cluster. +# #GLOBAL-CANDIDATE# +schema: 'drydock/BootAction/v1' +metadata: + schema: 'metadata/Document/v1' + name: promjoin + storagePolicy: 'cleartext' + layeringDefinition: + abstract: false + layer: site + labels: + application: 'drydock' +data: + signaling: false + # TODO(alanmeadows) move what is global about this document + assets: + - path: /opt/promjoin.sh + type: file + permissions: '555' + # The ip= parameter must match the MaaS network name of the network used + # to contact kubernetes. With a standard, reference Airship deployment where + # L2 networks are shared between all racks, the network name (i.e. calico) + # should be correct. + location: promenade+http://promenade-api.ucp.svc.cluster.local/api/v1.0/join-scripts?design_ref={{ action.design_ref | urlencode }}&hostname={{ node.hostname }}&ip={{ node.network.private.ip }}{% for k, v in node.labels.items() %}&labels.dynamic={{ k }}={{ v }}{% endfor %} + location_pipeline: + - template + data_pipeline: + - utf8_decode +... diff --git a/type/cntt/bootactions/promjoin.yaml b/type/cntt/bootactions/promjoin.yaml deleted file mode 100644 index 1178c10..0000000 --- a/type/cntt/bootactions/promjoin.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -# This file defines a boot action which is responsible for fetching the node's -# promjoin script from the promenade API. This is the script responsible for -# installing kubernetes on the node and joining the kubernetes cluster. -# #GLOBAL-CANDIDATE# -schema: 'drydock/BootAction/v1' -metadata: - schema: 'metadata/Document/v1' - name: promjoin - storagePolicy: 'cleartext' - layeringDefinition: - abstract: false - layer: site - labels: - application: 'drydock' -data: - signaling: false - # TODO(alanmeadows) move what is global about this document - assets: - - path: /opt/promjoin.sh - type: file - permissions: '555' - # The ip= parameter must match the MaaS network name of the network used - # to contact kubernetes. With a standard, reference Airship deployment where - # L2 networks are shared between all racks, the network name (i.e. calico) - # should be correct. - location: promenade+http://promenade-api.ucp.svc.cluster.local/api/v1.0/join-scripts?design_ref={{ action.design_ref | urlencode }}&hostname={{ node.hostname }}&ip={{ node.network.private.ip }}{% for k, v in node.labels.items() %}&labels.dynamic={{ k }}={{ v }}{% endfor %} - location_pipeline: - - template - data_pipeline: - - utf8_decode -... diff --git a/type/cntt/profiles/host/dp-intel-s2600wt.yaml b/type/cntt/profiles/host/dp-intel-s2600wt.yaml index e05a2c7..49ece45 100644 --- a/type/cntt/profiles/host/dp-intel-s2600wt.yaml +++ b/type/cntt/profiles/host/dp-intel-s2600wt.yaml @@ -76,24 +76,21 @@ data: mountpoint: '/var/log' fstype: 'ext4' mount_options: 'defaults' - # - name: 'cephjournal' - # size: '10g' - name: 'var' size: '>100g' filesystem: mountpoint: '/var' fstype: 'ext4' mount_options: 'defaults' - # datadisk: - # partitions: - # - name: 'nova' - # size: '450g' - # filesystem: - # mountpoint: '/var/lib/nova' - # fstype: 'ext4' - # mount_options: 'defaults' - # - name: 'cephosd' - # size: '>100g' + + datadisk: + partitions: + - name: 'nova' + size: '99%' + filesystem: + mountpoint: '/var/lib/nova' + fstype: 'ext4' + mount_options: 'defaults' platform: image: 'xenial' diff --git a/type/cntt/software/charts/osh/openstack-tenant-ceph/ceph-osd.yaml b/type/cntt/software/charts/osh/openstack-tenant-ceph/ceph-osd.yaml index 8937fdc..e991718 100644 --- a/type/cntt/software/charts/osh/openstack-tenant-ceph/ceph-osd.yaml +++ b/type/cntt/software/charts/osh/openstack-tenant-ceph/ceph-osd.yaml @@ -26,9 +26,9 @@ data: storage: osd: - data: - type: block-logical - location: /dev/sdb + type: directory + location: /var/lib/tenant-ceph/osd/osd-one journal: type: directory - location: /var/lib/openstack-helm/tenant-ceph/osd/osd-sdb + location: /var/lib/tenant-ceph/journal/osd-one ... diff --git a/type/cntt/software/charts/ucp/ceph/ceph-client-update.yaml b/type/cntt/software/charts/ucp/ceph/ceph-client-update.yaml new file mode 100644 index 0000000..eb921b8 --- /dev/null +++ b/type/cntt/software/charts/ucp/ceph/ceph-client-update.yaml @@ -0,0 +1,26 @@ +--- +# The purpose of this file is to define environment-specific parameters for ceph +# client update +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: ucp-ceph-client-update + layeringDefinition: + abstract: false + layer: site + parentSelector: + name: ucp-ceph-client-update-global + actions: + - method: merge + path: . + storagePolicy: cleartext +data: + values: + conf: + pool: + target: + # NEWSITE-CHANGEME: Total number of OSDs. Does not need to change if + # your HW matches this site's HW. Verify for your environment. + # 8 OSDs per node x 3 nodes = 24 + osd: 3 +... diff --git a/type/cntt/software/charts/ucp/ceph/ceph-client.yaml b/type/cntt/software/charts/ucp/ceph/ceph-client.yaml new file mode 100644 index 0000000..e1e8ecf --- /dev/null +++ b/type/cntt/software/charts/ucp/ceph/ceph-client.yaml @@ -0,0 +1,100 @@ +--- +# The purpose of this file is to define envrionment-specific parameters for the +# ceph client +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: ucp-ceph-client + layeringDefinition: + abstract: false + layer: site + parentSelector: + name: ucp-ceph-client-global + actions: + - method: merge + path: . + storagePolicy: cleartext +data: + values: + conf: + pool: + target: + # NEWSITE-CHANGEME: The number of OSDs per ceph node. Does not need to + # change if your deployment HW matches this site's HW. + osd: 1 + spec: + # RBD pool + - name: rbd + application: rbd + replication: 1 + percent_total_data: 40 + - name: cephfs_metadata + application: cephfs + replication: 1 + percent_total_data: 5 + - name: cephfs_data + application: cephfs + replication: 1 + percent_total_data: 10 + # RadosGW pools + - name: .rgw.root + application: rgw + replication: 1 + percent_total_data: 0.1 + - name: default.rgw.control + application: rgw + replication: 1 + percent_total_data: 0.1 + - name: default.rgw.data.root + application: rgw + replication: 1 + percent_total_data: 0.1 + - name: default.rgw.gc + application: rgw + replication: 1 + percent_total_data: 0.1 + - name: default.rgw.log + application: rgw + replication: 1 + percent_total_data: 0.1 + - name: default.rgw.intent-log + application: rgw + replication: 1 + percent_total_data: 0.1 + - name: default.rgw.meta + application: rgw + replication: 1 + percent_total_data: 0.1 + - name: default.rgw.usage + application: rgw + replication: 1 + percent_total_data: 0.1 + - name: default.rgw.users.keys + application: rgw + replication: 1 + percent_total_data: 0.1 + - name: default.rgw.users.email + application: rgw + replication: 1 + percent_total_data: 0.1 + - name: default.rgw.users.swift + application: rgw + replication: 1 + percent_total_data: 0.1 + - name: default.rgw.users.uid + application: rgw + replication: 1 + percent_total_data: 0.1 + - name: default.rgw.buckets.extra + application: rgw + replication: 1 + percent_total_data: 0.1 + - name: default.rgw.buckets.index + application: rgw + replication: 1 + percent_total_data: 3 + - name: default.rgw.buckets.data + application: rgw + replication: 1 + percent_total_data: 34.8 +... diff --git a/type/cntt/software/charts/ucp/ceph/ceph-osd.yaml b/type/cntt/software/charts/ucp/ceph/ceph-osd.yaml new file mode 100644 index 0000000..25297d9 --- /dev/null +++ b/type/cntt/software/charts/ucp/ceph/ceph-osd.yaml @@ -0,0 +1,30 @@ +--- +# The purpose of this file is to define environment-specific parameters for +# ceph-osd +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: ucp-ceph-osd + layeringDefinition: + abstract: false + layer: site + parentSelector: + name: ucp-ceph-osd-global + actions: + - method: replace + path: .values.conf.storage.osd + - method: merge + path: . + storagePolicy: cleartext +data: + values: + conf: + storage: + osd: + - data: + type: directory + location: /var/lib/ceph/osd/osd-one + journal: + type: directory + location: /var/lib/ceph/journal/osd-one +... diff --git a/type/cntt/software/charts/ucp/comps/chart-group.yaml b/type/cntt/software/charts/ucp/comps/chart-group.yaml deleted file mode 100644 index 02236b5..0000000 --- a/type/cntt/software/charts/ucp/comps/chart-group.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -schema: armada/ChartGroup/v1 -metadata: - schema: metadata/Document/v1 - name: ucp-drydock-scaled - layeringDefinition: - abstract: false - layer: type - storagePolicy: cleartext -data: - description: Drydock - chart_group: - - ucp-maas-scaled - - ucp-drydock diff --git a/type/cntt/software/charts/ucp/comps/drydock.yaml b/type/cntt/software/charts/ucp/comps/drydock.yaml deleted file mode 100644 index 1343340..0000000 --- a/type/cntt/software/charts/ucp/comps/drydock.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - replacement: true - name: ucp-drydock - labels: - name: ucp-drydock-type - layeringDefinition: - abstract: false - layer: type - parentSelector: - name: ucp-drydock-global - actions: - - method: merge - path: . - storagePolicy: cleartext -data: - values: - network: - api: - ingress: - classes: - cluster: maas-ingress -... diff --git a/type/cntt/software/charts/ucp/comps/maas-scaled.yaml b/type/cntt/software/charts/ucp/comps/maas-scaled.yaml deleted file mode 100644 index 531a9f3..0000000 --- a/type/cntt/software/charts/ucp/comps/maas-scaled.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: ucp-maas-scaled - layeringDefinition: - abstract: false - layer: type - parentSelector: - name: ucp-maas-global - actions: - - method: merge - path: . - storagePolicy: cleartext - substitutions: - - src: - schema: pegleg/CommonAddresses/v1 - name: common-addresses - path: .vip.maas_vip - dest: - path: .values.network.maas_ingress.addr -data: - values: - network: - region_api: - node_port: - enabled: true - pod: - replicas: - region: 2 - rack: 2 -... diff --git a/type/cntt/software/charts/ucp/comps/maas.yaml b/type/cntt/software/charts/ucp/comps/maas.yaml deleted file mode 100644 index d22cf55..0000000 --- a/type/cntt/software/charts/ucp/comps/maas.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# This file defines site-specific deviations for MaaS. -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: ucp-maas - layeringDefinition: - abstract: false - layer: type - parentSelector: - name: ucp-maas-global - actions: - - method: merge - path: . - storagePolicy: cleartext - substitutions: - - src: - schema: pegleg/CommonAddresses/v1 - name: common-addresses - path: .vip.maas_vip - dest: - path: .values.network.maas_ingress.addr -data: - values: - network: - region_api: - node_port: - enabled: true -... diff --git a/type/cntt/software/charts/ucp/drydock/chart-group.yaml b/type/cntt/software/charts/ucp/drydock/chart-group.yaml new file mode 100644 index 0000000..02236b5 --- /dev/null +++ b/type/cntt/software/charts/ucp/drydock/chart-group.yaml @@ -0,0 +1,14 @@ +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: ucp-drydock-scaled + layeringDefinition: + abstract: false + layer: type + storagePolicy: cleartext +data: + description: Drydock + chart_group: + - ucp-maas-scaled + - ucp-drydock diff --git a/type/cntt/software/charts/ucp/drydock/drydock.yaml b/type/cntt/software/charts/ucp/drydock/drydock.yaml new file mode 100644 index 0000000..1343340 --- /dev/null +++ b/type/cntt/software/charts/ucp/drydock/drydock.yaml @@ -0,0 +1,25 @@ +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + replacement: true + name: ucp-drydock + labels: + name: ucp-drydock-type + layeringDefinition: + abstract: false + layer: type + parentSelector: + name: ucp-drydock-global + actions: + - method: merge + path: . + storagePolicy: cleartext +data: + values: + network: + api: + ingress: + classes: + cluster: maas-ingress +... diff --git a/type/cntt/software/charts/ucp/drydock/maas-scaled.yaml b/type/cntt/software/charts/ucp/drydock/maas-scaled.yaml new file mode 100644 index 0000000..531a9f3 --- /dev/null +++ b/type/cntt/software/charts/ucp/drydock/maas-scaled.yaml @@ -0,0 +1,32 @@ +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: ucp-maas-scaled + layeringDefinition: + abstract: false + layer: type + parentSelector: + name: ucp-maas-global + actions: + - method: merge + path: . + storagePolicy: cleartext + substitutions: + - src: + schema: pegleg/CommonAddresses/v1 + name: common-addresses + path: .vip.maas_vip + dest: + path: .values.network.maas_ingress.addr +data: + values: + network: + region_api: + node_port: + enabled: true + pod: + replicas: + region: 2 + rack: 2 +... diff --git a/type/cntt/software/charts/ucp/drydock/maas.yaml b/type/cntt/software/charts/ucp/drydock/maas.yaml new file mode 100644 index 0000000..d22cf55 --- /dev/null +++ b/type/cntt/software/charts/ucp/drydock/maas.yaml @@ -0,0 +1,29 @@ +--- +# This file defines site-specific deviations for MaaS. +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: ucp-maas + layeringDefinition: + abstract: false + layer: type + parentSelector: + name: ucp-maas-global + actions: + - method: merge + path: . + storagePolicy: cleartext + substitutions: + - src: + schema: pegleg/CommonAddresses/v1 + name: common-addresses + path: .vip.maas_vip + dest: + path: .values.network.maas_ingress.addr +data: + values: + network: + region_api: + node_port: + enabled: true +... -- cgit 1.2.3-korg