Deploying to Red Hat OpenShift with Octopus Deploy
Blog post from Octopus Deploy
Shawn Sesna's article provides a detailed guide on integrating Red Hat OpenShift with Octopus Deploy, highlighting the steps involved in deploying to OpenShift, a Kubernetes (K8s) management platform. The author contrasts OpenShift with Rancher, emphasizing their differences while noting the substantial system requirements for OpenShift, which necessitates multiple master and worker nodes. For the demonstration, Sesna uses the stripped-down version of OpenShift, CodeReady Containers (CRC), due to resource constraints. The guide covers downloading CRC, setting up virtual switches in Windows Hyper-V, and dealing with DNS server adjustments made by CRC. It explains the dual Perspectives in OpenShift—Administrator and Developer—and outlines the processes of creating projects, service accounts, and role bindings. The article describes using the command-line tool, oc.exe, for role assignment and accessing the cluster URL, which is crucial for connecting to Octopus Deploy. The author also details the authentication process, Kubernetes cluster addition, and deployment to OpenShift while addressing configuration adjustments, such as handling external IPs in YAML files.