This turns on the observability component of ACM. The common use case is for virtualization metrics.
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 | |
| # update | |
| sudo dnf upgrade --refresh | |
| sudo dnf system-upgrade download --releasever=44 --allowerasing | |
| sudo dnf5 offline reboot |
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
| name: Local Config | |
| version: 1.0.0 | |
| schema: v1 | |
| models: | |
| - name: Granite | |
| provider: openai | |
| model: granite-3-1-8b-instruct | |
| apiKey: sk-abc123def456ghi789jkl012mno345pqr678stu901vwx234 | |
| apiBase: "http://granite-3-1-8b-instruct-predictor.ic-shared-llm.svc.cluster.local:8080/v1" |
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 | |
| # get certs | |
| openssl s_client -showcerts -connect YOUR_REG.COM:8443 </dev/null | |
| # see subject and issuer | |
| openssl x509 -noout -subject -issuer | |
| <PASTE YOUR CERT HERE> |
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 | |
| # check | |
| blkid /dev/<disk> | |
| wipefs -n /dev/<disk> | |
| # wipe | |
| wipefs -a /dev/<disk> | |
| sgdisk --zap-all /dev/<disk> | |
| dd if=/dev/zero of=/dev/<disk> bs=1M count=100 oflag=direct,dsync |
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
| Visualization in OCP Demo | |
| 1. Virtual Machine - click on specific virtual machine | |
| CPU, Memory, Storage, Network | |
| 2. Click Graphs and talk about PromQL and refresh timer | |
| winweb01 | |
| database |
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 | |
| # Prerequisites: | |
| # doctl, helm, kubectl | |
| doctl kubernetes options sizes | |
| # Create cluster | |
| doctl kubernetes cluster create lfe-cluster \ | |
| --region nyc1 \ |
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 | |
| echo "Start the cluster before this date" | |
| oc -n openshift-kube-apiserver-operator get secret kube-apiserver-to-kubelet-signer -o jsonpath='{.metadata.annotations.auth\.openshift\.io/certificate-not-after}' | |
| echo "" | |
| echo "Marking nodes as unscheduable" | |
| for node in $(oc get nodes -o jsonpath='{.items[*].metadata.name}'); do | |
| echo ${node} | |
| oc adm cordon ${node} |
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
| rd.driver.blacklist=nouveau,nouveau.modeset=0,nvidia-drm.modeset=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
| schemaVersion: 2.2.0 | |
| metadata: | |
| generateName: tl3test1 | |
| components: | |
| - name: development-tooling | |
| container: | |
| image: registry.redhat.io/devspaces/udi-rhel9@sha256:bb5baa05f316944ca6df56ad718c368b248e8f4b2488551549b1b13c4ed5844b | |
| env: | |
| - name: QUARKUS_HTTP_HOST | |
| value: 0.0.0.0 |
NewerOlder
