Introduction to HostedClusters
a.k.a Hypershift
3 March 2023
Juan Manuel Parrilla
Principal Software Engineer, Red Hat
Juan Manuel Parrilla
Principal Software Engineer, Red Hat
HostedClusters are fully compliant as regular Openshift, with some small differences:
Focus on:
For Later:
We have 3 topics here:
In general this kind of managment topics are ruled by the SRE or Openshift Management Cluster people
Support policy of 2 versions back.
Control Plane: To perform the upgrade it's matter of edit the HostedCluster CR
release: image: quay.io/openshift-release-dev/ocp-release:4.13.0-ec.2-x86_64
Data Plane: To perform the upgrade it's matter of edit the NodePool/s CR
release: image: quay.io/openshift-release-dev/ocp-release:4.13.0-ec.2-x86_64 replicas: 2
In order to apply a MachineConfig we will differ a bit from the tipical OCP approach because we don't have any MachineConfig Operator. More info here:
config: | apiVersion: machineconfiguration.openshift.io/v1 kind: MachineConfig metadata: labels: machineconfiguration.openshift.io/role: worker name: config-change-01 spec: config: ignition:
spec: config: - name: config-change-01
In order to apply a Tuned configuration we follows the same procedure as MachineConfig. More info here:
data: tuning: | apiVersion: tuned.openshift.io/v1 kind: Tuned metadata: name: tuned-1 namespace: openshift-cluster-node-tuning-operator spec: profile: - data: |
tuningConfig: - name: tuned-1
Features:
Hosted ControlPlane and Data plane will use Konnectivity to establish a tunnel for communications from KAS to Computes and works as follows:
The diagram shows an agnostic approach, but for example, if you deploys a HostedCluster in AWS, the “Exposed Services” are AWS Load balancers. That means that in every platform we deploy we will maintain the same core pieces.
16
Juan Manuel Parrilla
Principal Software Engineer, Red Hat
https://github.com/jparrill/presentations/IntroductionToHostedClusters