Skip to content

Commit

Permalink
Merge pull request #346 from littlejawa/kata-2465
Browse files Browse the repository at this point in the history
Peer-pods: switch runtime class name to 'kata-remote' instead of 'kata…
  • Loading branch information
gkurz committed Oct 17, 2023
2 parents 9f3c953 + 52f6ae6 commit c4d1fd9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions config/peerpods/mc-50-crio-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ metadata:
labels:
app: peerpodconfig-openshift
machineconfiguration.openshift.io/role: kata-oc
name: 50-kata-remote-cc
name: 50-kata-remote
spec:
config:
ignition:
version: 2.2.0
storage:
files:
- contents:
source: data:text/plain;charset=utf-8;base64,W2NyaW8ucnVudGltZS5ydW50aW1lcy5rYXRhLXJlbW90ZS1jY10KIHJ1bnRpbWVfcGF0aCA9ICIvdXNyL2Jpbi9jb250YWluZXJkLXNoaW0ta2F0YS12Mi10cCIKIHJ1bnRpbWVfdHlwZSA9ICJ2bSIKIHJ1bnRpbWVfcm9vdCA9ICIvcnVuL3ZjIgogcnVudGltZV9jb25maWdfcGF0aCA9ICIvb3B0L2thdGEvY29uZmlndXJhdGlvbi1yZW1vdGUudG9tbCIKIHByaXZpbGVnZWRfd2l0aG91dF9ob3N0X2RldmljZXMgPSB0cnVlCg==
source: data:text/plain;charset=utf-8;base64,W2NyaW8ucnVudGltZS5ydW50aW1lcy5rYXRhLXJlbW90ZV0KIHJ1bnRpbWVfcGF0aCA9ICIvdXNyL2Jpbi9jb250YWluZXJkLXNoaW0ta2F0YS12Mi10cCIKIHJ1bnRpbWVfdHlwZSA9ICJ2bSIKIHJ1bnRpbWVfcm9vdCA9ICIvcnVuL3ZjIgogcnVudGltZV9jb25maWdfcGF0aCA9ICIvb3B0L2thdGEvY29uZmlndXJhdGlvbi1yZW1vdGUudG9tbCIKIHByaXZpbGVnZWRfd2l0aG91dF9ob3N0X2RldmljZXMgPSB0cnVlCg==
filesystem: root
mode: 0644
path: /etc/crio/crio.conf.d/50-kata-remote-cc
path: /etc/crio/crio.conf.d/50-kata-remote

4 changes: 2 additions & 2 deletions config/peerpods/runtimeclass.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
apiVersion: node.k8s.io/v1
handler: kata-remote-cc
handler: kata-remote
kind: RuntimeClass
metadata:
name: kata-remote-cc
name: kata-remote
overhead:
podFixed:
memory: "120Mi"
Expand Down
4 changes: 2 additions & 2 deletions controllers/openshift_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ const (
DEFAULT_PEER_PODS = "10"
peerpodConfigCrdName = "peerpodconfig-openshift"
peerpodsMachineConfigPathLocation = "/config/peerpods"
peerpodsCrioMachineConfig = "50-kata-remote-cc"
peerpodsCrioMachineConfig = "50-kata-remote"
peerpodsCrioMachineConfigYaml = "mc-50-crio-config.yaml"
peerpodsKataRemoteMachineConfig = "40-worker-kata-remote-config"
peerpodsKataRemoteMachineConfigYaml = "mc-40-kata-remote-config.yaml"
peerpodsRuntimeClassName = "kata-remote-cc"
peerpodsRuntimeClassName = "kata-remote"
peerpodsRuntimeClassCpuOverhead = "0.25"
peerpodsRuntimeClassMemOverhead = "350Mi"
)
Expand Down

0 comments on commit c4d1fd9

Please sign in to comment.