diff --git a/content/cluster-installation/appliance/agent-config.yaml b/content/cluster-installation/appliance/agent-config.yaml new file mode 100644 index 00000000..46dd88a4 --- /dev/null +++ b/content/cluster-installation/appliance/agent-config.yaml @@ -0,0 +1,33 @@ +apiVersion: v1alpha1 +kind: AgentConfig +rendezvousIP: 192.168.8.2 +metadata: + name: edge-gateway +hosts: + - hostname: edge-gateway + role: master + interfaces: + - name: enp2s0 + macAddress: 84:8b:cd:4d:15:f9 + networkConfig: + interfaces: + - name: enp2s0 + type: ethernet + state: up + mac-address: 84:8b:cd:4d:15:f9 + ipv4: + enabled: true + address: + - ip: 192.168.8.2 + prefix-length: 24 + dhcp: false + dns-resolver: + config: + server: + - 192.168.8.1 + routes: + config: + - destination: 0.0.0.0/0 + next-hop-address: 192.168.8.1 + next-hop-interface: enp2s0 + table-id: 254 diff --git a/content/cluster-installation/appliance/appliance-config.yaml b/content/cluster-installation/appliance/appliance-config.yaml new file mode 100644 index 00000000..176b43c9 --- /dev/null +++ b/content/cluster-installation/appliance/appliance-config.yaml @@ -0,0 +1,22 @@ +apiVersion: v1beta1 +kind: ApplianceConfig +ocpRelease: + version: 4.16.27 + channel: stable + cpuArchitecture: x86_64 +# PullSecret required for mirroring the OCP release payload +pullSecret: '{"auths":{"cloud.o...' +sshKey: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICEibaAML0mtppKRlNQpe1eqgXB05chuIQ9/0yg2vcYx robot-hackathon' +userCorePass: s3cr3t +enableDefaultSources: false +stopLocalRegistry: false +createPinnedImageSets: false +operators: + - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.16 + packages: + - name: openshift-gitops-operator + channels: + - name: latest + - name: skupper-operator + channels: + - name: stable diff --git a/content/cluster-installation/appliance/index.md b/content/cluster-installation/appliance/index.md new file mode 100644 index 00000000..f2760af2 --- /dev/null +++ b/content/cluster-installation/appliance/index.md @@ -0,0 +1,18 @@ +--- +title: Appliance +linktitle: Appliance +description: Appliance +tags: ['appliance','air-gapped'] +--- +# Some information + +```bash +curl -L -O https://mirror.openshift.com/pub/openshift-v4/amd64/clients/ocp/4.16.27/openshift-install-linux-4.16.27.tar.gz +tar xzvf openshift-install-linux-4.16.27.tar.gz +export APPLIANCE_IMAGE="quay.io/edge-infrastructure/openshift-appliance" +export APPLIANCE_ASSETS="$(pwd)/appliance_assets" +mkdir -p $APPLIANCE_ASSETS +podman run --rm -it --pull newer -v $APPLIANCE_ASSETS:/assets:Z $APPLIANCE_IMAGE generate-config +... +podman run --rm -it --pull newer --privileged --net=host -v $APPLIANCE_ASSETS:/assets:Z $APPLIANCE_IMAGE build +``` diff --git a/content/cluster-installation/appliance/install-config.yaml b/content/cluster-installation/appliance/install-config.yaml new file mode 100644 index 00000000..e8c68cb0 --- /dev/null +++ b/content/cluster-installation/appliance/install-config.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +baseDomain: lan +metadata: + name: edge-gateway +compute: + - name: worker + replicas: 0 +controlPlane: + name: master + replicas: 1 +networking: + networkType: OVNKubernetes + machineNetwork: + - cidr: 192.168.8.0/24 +platform: + none: {} +pullSecret: '{"auths":{"":{"auth":"dXNlcjpwYXNz"}}}' +sshKey: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICEibaAML0mtppKRlNQpe1eqgXB05chuIQ9/0yg2vcYx robot-hackathon' diff --git a/mkdocs.yml b/mkdocs.yml index c8f7ccaa..f5014523 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -112,6 +112,7 @@ nav: - "MachineSet & UPI": cluster-configuration/MachineSets/VMware-UPI/index.md - "Agent-based non-integrated": cluster-installation/vmware/agent-base-non-integrated/index.md - Hosted Control Plane: cluster-installation/hosted-control-plane.md + - Appliance: cluster-installation/appliance/index.md - Nvidia GPU: - cluster-installation/gpu/index.md - GPU on-prem: cluster-installation/gpu/gpu-on-prem.md