Skip to content

Instantly share code, notes, and snippets.

View huddlesj's full-sized avatar

Jay Huddleston huddlesj

  • Red Hat
  • Dothan, AL
View GitHub Profile
@huddlesj
huddlesj / pvc-resizer.yaml
Created March 30, 2022 21:30 — forked from bbeaudoin/pvc-resizer.yaml
Automatically increase PVC requests in the namespace in which it is deployed
apiVersion: apps/v1
kind: Deployment
metadata:
name: pvc-resizer
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:

Using Sushy Tools with Libvirt

  • Add linux user to libvirt group
sudo usermod -a -G libvirt <your-user>
sudo -y install libvirt-devel gcc python3-devel
  • Login and validate user can execute virsh commands
[root@a1 ceph]# cat cluster-jay.yaml
#################################################################################################################
# Define the settings for the rook-ceph cluster with common settings for a production cluster.
# All nodes with available raw devices will be used for the Ceph cluster. At least three nodes are required
# in this example. See the documentation for more details on storage settings available.
# For example, to create the cluster:
# kubectl create -f common.yaml
# kubectl create -f operator.yaml
# kubectl create -f cluster.yaml
@huddlesj
huddlesj / haproxy.cnf
Created August 6, 2019 20:40
haproxy.ocp4
frontend stats
bind *:9000
stats enable
stats uri /haproxy_stats
stats refresh 10s
### ocp 4 dev stuff
frontend ocp4-dev-api-server
bind *:6443
@huddlesj
huddlesj / ocp4-client-setup.yaml
Last active August 29, 2019 16:55
OCP4 Client Setup
---
- name: run the playbook tasks on the localhost
hosts: 127.0.0.1
connection: local
become: yes
tasks:
- name: url lookup splits lines by default
set_fact: