Skip to content

Commit

Permalink
remove microshift
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrage committed Nov 21, 2024
1 parent 545e6c3 commit f3d94cb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 116 deletions.
29 changes: 0 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ Below is a general overview (with instructions) on each Docker container I use.
- [bootc-httpd-fedora](#bootc-httpd-fedora)
- [bootc-k3s-master-amd64](#bootc-k3s-master-amd64)
- [bootc-k3s-node-amd64](#bootc-k3s-node-amd64)
- [bootc-microshift-centos](#bootc-microshift-centos)
- [bootc-nvidia-base-centos](#bootc-nvidia-base-centos)
- [bootc-nvidia-base-fedora](#bootc-nvidia-base-fedora)
- [cat](#cat)
Expand Down Expand Up @@ -181,34 +180,6 @@ Below is a general overview (with instructions) on each Docker container I use.
4. use kubectl get nodes and you should see your server.
COPY auth.json /etc/ostree/auth.json

## [bootc-microshift-centos](/bootc-microshift-centos/Containerfile)

**Description:**
> IMPORTANT NOTE: This is BOOTC. This is meant for bootable container applications. See: https://github.com/containers/podman-desktop-extension-bootc
This Containerfile creates a MicroShift server on CentOS Stream 9. So you can run a Kubernetes-derivative server (OpenShift) by Red Hat. MicroShift is intended as an "Edge" version of OpenShift.

**Pre-requisites:**
* You must have a valid OpenShift Hybrid Cloud pull secret from https://console.redhat.com/openshift/install/pull-secret in order to build and use MicroShift
* Podman Desktop installed
* BootC extension installed for Podman Desktop (https://github.com/containers/podman-desktop-extension-bootc)
* Public SSH key for easy access to the server

**Running:**
1. Build the image with your SSH_PUBLIC_KEY and OPENSHIFT_PULL_SECRET arguments, either through the podman CLI or through Podman Desktop
2. Use bootc podman desktop extension to create an OS
3. Use your favourite VM tool to boot the raw file / qcow2 / etc.
4. SSH into the OS
5. Copy the kubeconfig file from `/var/lib/microshift/resources/kubeadmin/kubeconfig` to `~/.kube/config` on the remote machine.
6. Run `kubectl get pods -A` or `oc get pods -A` to see all the pods running.

**Interacting with the server:**

After following the above "Running" steps, you can now interact with the OpenShift server using `kubectl` or `oc` commands. This can also be done from your local machine if you
copy the kubeconfig file from `/var/lib/microshift/resources/kubeadmin/kubeconfig` to `~/.kube/config` on your local machine. You may need to edit the file to change the remote server IP address.
RUN echo -e ' OpenShift 4.17 release\n\
Dependencies\n\

## [bootc-nvidia-base-centos](/bootc-nvidia-base-centos/Containerfile)

**Description:**
Expand Down
62 changes: 0 additions & 62 deletions bootc-microshift-centos/Containerfile

This file was deleted.

25 changes: 0 additions & 25 deletions bootc-microshift-centos/README.md

This file was deleted.

0 comments on commit f3d94cb

Please sign in to comment.