Skip to content

Instantly share code, notes, and snippets.

View debianmaster's full-sized avatar
🏠
Hyderabad

chakra j debianmaster

🏠
Hyderabad
View GitHub Profile
apiVersion: v1
entries:
kubefed:
- apiVersion: v1
created: "2019-08-16T20:55:41.543976601-07:00"
description: KubeFed helm chart
digest: e538f9ea432865d957d842442938dc926a54e4b462996d0600d9e4d9405ced4c
name: kubefed
urls:
- https://github.com/kubernetes-sigs/kubefed/releases/download/v0.1.0-rc6/kubefed-0.1.0-rc6.tgz
docker run -d --name mysql -e MYSQL_ROOT_PASSWORD=mysql -d mysql:latest --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --default-authentication-plugin=mysql_native_password
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum makecache fast
yum install -y http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.99-1.el7_6.noarch.rpm
sudo yum install -y docker-ce
livenessProbe:
exec:
command:
- "/bin/bash"
- "-c"
- "/opt/eap/bin/livenessProbe.sh"
initialDelaySeconds: 60
readinessProbe:
exec:
command:
@debianmaster
debianmaster / node-config.json
Created April 9, 2019 19:15
node-config.json
[
{
"name": "node-config-master",
"labels": [
"node-role.kubernetes.io/master=true",
"node-role.kubernetes.io/compute=true"
]
},
{
"name": "node-config-infra",
{
"surrogateAuthRequired": false,
"enabled": true,
"clientAuthenticatorType": "client-secret",
"redirectUris": ["*"],
"webOrigins": [],
"notBefore": 0,
"bearerOnly": false,
"consentRequired": false,
"standardFlowEnabled": true,
wireguard-ansible cjonagam(ocp:jm) $ time ~/.runJmeter.sh
error: unable to upgrade connection: container not found ("distributed-jmeter")
not-ready
10.131.181.239,10.131.194.152,10.131.51.18
Creating summariser <summary>
Created the tree successfully using /jmeter/sample.jmx
Configuring remote engine: 10.131.181.239
Configuring remote engine: 10.131.194.152
Configuring remote engine: 10.131.51.18
Starting remote engines
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: goldpinger
spec:
updateStrategy:
type: RollingUpdate
selector:
matchLabels:
{
"bus_reg_id": "AP11Z7295",
"message": "98 Mtrs from NIMS HOSPITAL",
"lat": "17.424175",
"long": "78.453735",
"reportedTimeStamp": "2019-03-10 10:57:41.0"
}
ansible all -m shell -a 'yum install epel-release wget git net-tools bind-utils yum-utils iptables-services bridge-utils bash-completion kexec-tools sos psacct NetworkManager dnsmasq -y'
ansible all -m shell -a 'systemctl enable NetworkManager'
ansible all -m shell -a 'systemctl restart NetworkManager'
ansible all -m shell -a "yum install docker -y"
ansible all -m shell -a "sudo yum update -y"
ansible all -m shell -a "/usr/bin/needs-restarting -r"
ansible all -m shell -a "sudo date"
ansible all -m copy -a "remote_src=yes src=/etc/resolv.conf dest=/etc/resolv.conf.vanilla"
ansible all -m lineinfile -a "path=/etc/sysconfig/network-scripts/ifcfg-eth0 line=NM_CONTROLLED='yes'"
ansible all -m lineinfile -a "path=/etc/sysconfig/network-scripts/ifcfg-eth0 line=PEERDNS='no'"