Skip to content

Instantly share code, notes, and snippets.

View praveenkumar's full-sized avatar
🏠
Working from home

Praveen Kumar praveenkumar

🏠
Working from home
View GitHub Profile
@praveenkumar
praveenkumar / gist:454e1379aebd3c04fb8e0ffcf11ecf05
Created November 15, 2024 06:13
patch images for okd arm64 images
This is for okd arm64 images
@praveenkumar
praveenkumar / gist:5ed3a2bacc38615fd4b2b3cf74f445c2
Created August 6, 2024 11:22
Consuming Podman and kubernetes api using OpenShift Local VM
Instructions about how to use podman from OpenShift Local VM
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/http"
)
@praveenkumar
praveenkumar / snc.sh
Last active March 18, 2020 13:37
Debugging etcd issue.
#!/bin/bash
set -euo pipefail
export LC_ALL=C
export LANG=C
INSTALL_DIR=crc-tmp-install-data
JQ=${JQ:-jq}
OC=${OC:-oc}
@praveenkumar
praveenkumar / clusterversion.yaml
Created March 4, 2020 12:27
Doc gist for cvo changes
$ oc get clusterversion -oyaml
apiVersion: v1
items:
- apiVersion: config.openshift.io/v1
kind: ClusterVersion
metadata:
creationTimestamp: "2020-02-29T17:11:09Z"
generation: 4
name: version
resourceVersion: "616039"
@praveenkumar
praveenkumar / Vagrant.patch
Created December 24, 2019 16:44
running k8s hard way using vagrant hard way
# git diff
diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile
index 338ca59..bc6c1cd 100644
--- a/vagrant/Vagrantfile
+++ b/vagrant/Vagrantfile
@@ -23,7 +23,7 @@ Vagrant.configure("2") do |config|
# Every Vagrant development environment requires a box. You can search for
# boxes at https://vagrantcloud.com/search.
# config.vm.box = "base"
- config.vm.box = "ubuntu/bionic64"
@praveenkumar
praveenkumar / [Dont DELETE] Openshift_Operators
Created October 17, 2019 10:08
Put the details about consumed resources by Openshift Operators.
This gist thread will be used to find out what all operators are present as part of CRC and what can be done to make low
memory/cpu footprint to the host.
@praveenkumar
praveenkumar / Corefile
Created March 5, 2019 08:17
[Dont DELETE] Corefile for coredns
$ cat Corefile
tt.testing {
log
errors
health
file test1-api
}
. {
forward . mynameserver {
except tt.testing
@praveenkumar
praveenkumar / installer
Created March 5, 2019 06:01
[DONT DELETE] installer related gist and comments.
This gist contain the install related comments.
@praveenkumar
praveenkumar / operatorTalks.md
Created January 28, 2019 05:37 — forked from surajnarwade/operatorTalks.md
Talks related to Controllers & Operators