Skip to content

Instantly share code, notes, and snippets.

View jeniferh's full-sized avatar

Jenifer Abrams jeniferh

  • Red Hat
  • Colorado
View GitHub Profile
FROM docker.io/library/centos:8
RUN curl -s -o /etc/yum.repos.d/pbench.repo https://gist.githubusercontent.com/jeniferh/6d44d33e0a77843caf72e78d1a802adf/raw/b39247272a101bf971ecb0f42a8d224778eb77d2/pbench-8.repo
RUN sed -i -e "s/enabled=0/enabled=1/" /etc/yum.repos.d/CentOS-PowerTools.repo
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
RUN dnf install -y hostname iproute procps-ng iputils openssh-server openssh-clients rsync perf pbench-agent pbench-sysstat pbench-uperf pbench-fio pbench-linpack
RUN source /etc/profile.d/pbench-agent.sh
RUN sed -i -e "s/.*PermitRootLogin.*/PermitRootLogin yes ##/" /etc/ssh/sshd_config
RUN sed -i -e "s/.*Port .*/Port 2022 ##/" /etc/ssh/sshd_config
RUN ssh-keygen -A
# External COPR repo
[copr-pbench]
name=Copr repo for pbench
baseurl=https://copr-be.cloud.fedoraproject.org/results/ndokos/pbench/epel-8-$basearch/
skip_if_unavailable=True
gpgcheck= 1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/ndokos/pbench/pubkey.gpg
enabled=1
enabled_metadata=1
skip_if_unavailable=1
$ oc get csv -n openshift-cnv
NAME DISPLAY VERSION REPLACES PHASE
kubevirt-hyperconverged-operator.v2.3.0 Container-native virtualization 2.3.0 Succeeded
$ oc get all -n openshift-cnv
NAME READY STATUS RESTARTS AGE
pod/bridge-marker-4fndm 1/1 Running 0 3d16h
pod/bridge-marker-9gtbq 1/1 Running 0 3d16h
pod/bridge-marker-bxvsj 1/1 Running 0 3d16h