Skip to content

Instantly share code, notes, and snippets.

View zherman0's full-sized avatar

Zac Herman zherman0

  • Red Hat
  • Salt Lake, UT
View GitHub Profile
@zherman0
zherman0 / createHypershiftCluster.sh
Last active November 4, 2024 17:13
Setting up a hypershift cluster
# Public version at https://gist.github.com/zherman0/630003a03d0b0f5e1a0f469a25a6e18b
###################################################################################################################################
# Installing terraform: https://docs.google.com/document/d/1ced9XIsXNqLInWYAEx8LNxYhoVTUIYkypfyNeUGOe0E/edit#heading=h.ic2dqvz6frrr
###################################################################################################################################
################################################
# Fill out the following variables #############
TERRAFORM_DIR=/home/<username>/<terrafrom_dir>
OCM_REPO=/home/<username>/<ocm_repo>
export BILLING=<your_billing_account_id>
@zherman0
zherman0 / httpd.txt
Last active November 17, 2023 17:52
apache-notes
Configuration files:
/etc/httpd/conf/httpd.conf
/etc/httpd/conf.d/*.conf
--> /api is in /etc/httpd/conf.d/skilog.conf
Log files:
/var/log/httpd/error_log
sudo systemctl restart httpd
{
"apiVersion": "operators.coreos.com/v1alpha1",
"kind": "ClusterServiceVersion",
"metadata": {
"annotations": {
"alm-examples": "[\n {\n \"apiVersion\": \"core.libopenstorage.org/v1alpha1\",\n \"kind\": \"StorageCluster\",\n \"metadata\": {\n \"name\": \"portworx\",\n \"namespace\": \"test-operator\"\n },\n \"spec\": {\n \"userInterface\": {\n \"enabled\": true\n },\n \"autopilot\": {\n \"enabled\": false\n }\n }\n },\n {\n \"apiVersion\": \"core.libopenstorage.org/v1alpha1\",\n \"kind\": \"StorageNode\",\n \"metadata\": {\n \"name\": \"example\",\n \"namespace\": \"test-operator\"\n }\n }\n]",
"capabilities": "Auto Pilot",
"categories": "Storage",
"certified": "false",
"containerImage": "portworx/px-operator:1.3.0",
@zherman0
zherman0 / fedora_issues.txt
Last active November 22, 2024 15:29
Fedora notes
rcu_nocbs=0-7 (for 8 cores) and processor.max_cstate=1
************ When key is failing on update ****************************
sudo rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n'
sudo rpm -e "gpg-pubkey-$keyid"
@zherman0
zherman0 / patternfly setup
Last active January 7, 2020 22:20
PatternFly Notes
1. Fork, clone, and setup branch
2. yarn install
3. yarn build (optional since it runs with yarn start)
4. yarn start:pf4
5. Test using MD files in the component directory