Skip to content

Openshift Compact IPv6

In this section, we will discuss how to deploy the Openshift management cluster. To do that, we need to have the following files in place:

  1. Pull Secret
  2. Kcli Plan

Ensure that these files are properly set up for the deployment process.

Pull Secret

The Pull Secret should be located in the same folder as the kcli plan and should be named openshift_pull.json.

Kcli plan

The Kcli plan contains the Openshift definition. This is how looks like:

Note

Please ensure you modify the appropriate fields to align with your laboratory environment.

  • mgmt-compact-hub-ipv6.yaml
plan: hub-ipv6
force: true
version: nightly
tag: "4.14.0-0.nightly-2023-08-29-102237"
cluster: "hub-ipv6"
ipv6: true
domain: hypershiftbm.lab
api_ip: 2620:52:0:1305::2
ingress_ip: 2620:52:0:1305::3
disconnected_url: registry.hypershiftbm.lab:5000
disconnected_update: true
disconnected_user: dummy
disconnected_password: dummy
disconnected_operators_version: v4.13
disconnected_operators:
- name: metallb-operator
- name: lvms-operator
  channels:
  - name: stable-4.13
disconnected_extra_images:
- quay.io/mavazque/trbsht:latest
- quay.io/jparrill/hypershift:BMSelfManage-v4.14-rc-v3
- registry.redhat.io/openshift4/ose-kube-rbac-proxy:v4.10
dualstack: false
disk_size: 200
extra_disks: [200]
memory: 48000
numcpus: 16
ctlplanes: 3
workers: 0
manifests: extra-manifests
metal3: true
network: ipv6
users_dev: developer
users_devpassword: developer
users_admin: admin
users_adminpassword: admin
metallb_pool: ipv6-virtual-network
metallb_ranges:
- 2620:52:0:1305::150-2620:52:0:1305::190
metallb_autoassign: true
apps:
- users
- lvms-operator
- metallb-operator
vmrules:
- hub-bootstrap:
    nets:
    - name: ipv6
      mac: aa:aa:aa:aa:03:10
- hub-ctlplane-0:
    nets:
    - name: ipv6
      mac: aa:aa:aa:aa:03:01
- hub-ctlplane-1:
    nets:
    - name: ipv6
      mac: aa:aa:aa:aa:03:02
- hub-ctlplane-2:
    nets:
    - name: ipv6
      mac: aa:aa:aa:aa:03:03

Note

To understand the meaning of each of these parameters, you can refer to the official documentation here.

Deployment

To initiate the provisioning procedure, execute the following:

kcli create cluster openshift --pf mgmt-compact-hub-ipv6.yaml