This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
PASS_DEVELOPER="${PASS_DEVELOPER:-P@ssd3v3loper}" | |
PASS_KUBEADMIN="${PASS_DEVELOPER:-P@sskub3admin}" | |
CRC_BUNDLE_PATH="${CRC_BUNDLE_PATH:-$HOME/.crc/cache/crc_libvirt_4.19.0_amd64.crcbundle}" | |
SSH="ssh -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no -i ${PUB_KEY_PATH%.*}" | |
SCP="scp -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no -i ${PUB_KEY_PATH%.*}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
PASS_DEVELOPER="${PASS_DEVELOPER:-P@ssd3v3loper}" | |
PASS_KUBEADMIN="${PASS_DEVELOPER:-P@sskub3admin}" | |
CRC_BUNDLE_PATH="${CRC_BUNDLE_PATH:-$HOME/.crc/cache/crc_libvirt_4.19.0_amd64.crcbundle}" | |
SSH="ssh -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no -i ${PUB_KEY_PATH%.*}" | |
SCP="scp -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no -i ${PUB_KEY_PATH%.*}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"os" | |
"strconv" | |
"sync" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: testpvc-claim | |
namespace: testpvc | |
spec: | |
accessModes: | |
- ReadWriteMany | |
resources: | |
requests: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ ./crc start --log-level debug -p /tmp/pull-secret | |
DEBU CRC version: 2.13.1+72187d13 | |
DEBU OpenShift version: 4.12.1 | |
DEBU Podman version: 4.3.1 | |
DEBU Running 'crc start' | |
DEBU Total memory of system is 34359738368 bytes | |
DEBU Unable to find out if a new version is available: Get "https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/crc/latest/release-info.json": x509: certificate has expired or is not yet valid: “access.redhat.com” certificate is expired | |
DEBU Checking file: /Users/anjan/.crc/machines/crc/.crc-exist | |
INFO Checking if running as non-root | |
INFO Checking if crc-admin-helper executable is cached |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO Kubelet client certificate has expired, renewing it... [will take up to 8 minutes] | |
DEBU retry loop: attempt 0 | |
DEBU Waiting for availability of resource type 'csr' | |
DEBU retry loop: attempt 0 | |
DEBU Running SSH command: timeout 5s oc get csr --context admin --cluster crc --kubeconfig /opt/kubeconfig | |
DEBU SSH command results: err: Process exited with status 1, output: | |
DEBU The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port? | |
DEBU error: Temporary error: ssh command error: | |
command : timeout 5s oc get csr --context admin --cluster crc --kubeconfig /opt/kubeconfig | |
err : Process exited with status 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
labels: | |
app.kubernetes.io/component: storage | |
app.kubernetes.io/managed-by: hostpath-provisioner-operator | |
app.kubernetes.io/part-of: hyperconverged-cluster | |
app.kubernetes.io/version: 4.11.0 | |
k8s-app: hostpath-provisioner | |
prometheus.hostpathprovisioner.kubevirt.io: "true" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uncaught Exception: | |
Error [ERR_REQUIRE_ESM]: require() of ES Module /private/tmp/trays/crc-tray-darwin-universal/crc-tray.app/Contents/Resources/app.asar/node_modules/got/dist/source/index.js from /private/tmp/trays/crc-tray-darwin-universal/crc-tray.app/Contents/Resources/app.asar/build/src/commander.js not supported. | |
Instead change the require of index.js in /private/tmp/trays/crc-tray-darwin-universal/crc-tray.app/Contents/Resources/app.asar/build/src/commander.js to a dynamic import() which is available in all CommonJS modules. | |
at c._load (node:electron/js2c/asar_bundle:5:13339) | |
at Object.<anonymous> (/private/tmp/trays/crc-tray-darwin-universal/crc-tray.app/Contents/Resources/app.asar/build/src/commander.js:4:13) | |
at c._load (node:electron/js2c/asar_bundle:5:13339) | |
at Object.<anonymous> (/private/tmp/trays/crc-tray-darwin-universal/crc-tray.app/Contents/Resources/app.asar/build/src/main.js:31:21) | |
at c._load (node:electron/js2c/asar_bundle:5:13339) | |
at Object.<anonymous> (node:electron/js2c/browser_init:189 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ crc start --log-level debug | |
DEBU CRC version: 2.6.0.999+2686dd6e | |
DEBU OpenShift version: 4.11.0-0.okd-2022-07-29-154152 | |
DEBU Podman version: 4.1.1 | |
DEBU Running 'crc start' | |
DEBU Total memory of system is 14139076608 bytes | |
DEBU Unable to find out if a new version is available: Invalid Semantic Version | |
DEBU Checking file: /home/anjan/.crc/machines/crc/.crc-exist | |
DEBU Found binary path at /home/anjan/.crc/bin/crc-driver-libvirt | |
DEBU Launching plugin server for driver libvirt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# podman 4.1.1 from brew with 9p | |
[core@localhost ~]$ uname -r -s -v | |
Linux 5.18.13-200.fc36.aarch64 #1 SMP PREEMPT_DYNAMIC Fri Jul 22 13:44:25 UTC 2022 | |
[core@localhost ~]$ fio --name=random-readers --filename=testfile --ioengine=libaio --iodepth=16 --rw=randrw --bs=512 --direct=0 --size=1G --numjobs=1 --runtime=60s --group_reporting --fallocate=none --time_based --thread --invalidate=1 | |
random-readers: (g=0): rw=randrw, bs=(R) 512B-512B, (W) 512B-512B, (T) 512B-512B, ioengine=libaio, iodepth=16 | |
fio-3.29 | |
Starting 1 thread | |
Jobs: 1 (f=1): [m(1)][100.0%][r=24.6MiB/s,w=24.8MiB/s][r=50.4k,w=50.7k IOPS][eta 00m:00s] | |
random-readers: (groupid=0, jobs=1): err= 0: pid=1395: Mon Aug 1 17:33:47 2022 | |
read: IOPS=35.0k, BW=17.1MiB/s (17.9MB/s)(1026MiB/60001msec) |
NewerOlder