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
| 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 | |
| doctl kubernetes options sizes | |
| # Create cluster | |
| doctl kubernetes cluster create lfe-cluster \ | |
| --region nyc1 \ | |
| --version 1.34.1-do.3 \ | |
| --maintenance-window saturday=02:00 \ | |
| --node-pool "name=worker-pool;size=s-2vcpu-2gb-90gb-intel;count=2;tag=lfecluster;tag=jkeam;tag=clustername:lfe-cluster" |
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 |
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 | |
| PNGLOGOB64=$(base64 -i logo.png) | |
| B64_FULL_LOGO="data:image/png;base64,$PNGLOGOB64" |
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 | |
| # for fedora server, you might need to expand the root | |
| sudo lvextend -r -L+500g /dev/mapper/fedora-root | |
| sudo usermod -a -G render,video $LOGNAME | |
| sudo dnf install rocm rocm-devel | |
| # test | |
| # rocminfo |
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
| module grd 1.0; | |
| require { | |
| type system_dbusd_t; | |
| type unconfined_service_t; | |
| type xdm_t; | |
| class tcp_socket { getattr getopt read setopt shutdown write }; | |
| } | |
| allow system_dbusd_t unconfined_service_t:tcp_socket { read write }; | |
| allow xdm_t unconfined_service_t:tcp_socket { getattr getopt read setopt shutdown write }; |
NewerOlder
