Skip to content

Instantly share code, notes, and snippets.

View thisismsreddy's full-sized avatar

thisismsreddy

  • enthsquare
  • India
View GitHub Profile
@thisismsreddy
thisismsreddy / cloud-config-master.yaml
Last active September 27, 2016 11:59 — forked from ryancurrah/cloud-config-master.yaml
CoreOS w/ Kubernetes Cloud Config
#cloud-config
#type: master
---
hostname: master01
users:
- name: core
passwd: $6$rounds=4096$qTfXAnCBjkQ326$zRFWfe45s3quKvxl2pax1Ml44PCPNQQYXcJ.r0FfkN5jwecdipepTLMNEQCsAcGJkH5NA6BCPr4VIGJNftBIe.
groups:
- sudo
0x528f9481d253f4497E533d2513CD47ecAd171Ca1
pragma solidity ^0.4.0;
contract HelloWorld {
address public owener;
mapping (address => uint) balances;
function HelloWorld(){
owener = msg.sender;
@thisismsreddy
thisismsreddy / rbd-replication.md
Created October 17, 2019 13:41 — forked from jbernard/rbd-replication.md
Cinder RBD Replication Guide

Replication Notes

Assumption: You have two clusters, access to both, and a pool that exists in both clustsers and you wish to replicate some or all images in that pool to the other cluster.

Mirroring in both directions is required for Cinder to properly implement failover and failback.

Make sure you have the rbd-mirror package installed.

@thisismsreddy
thisismsreddy / kubernetes_nginx_octivia.yaml
Created November 2, 2020 09:36
This is example yaml file will create a nginx service and use octivia load balancer to expose service to public ip.
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: external-http-nginx-deployment
spec:
replicas: 4
selector:
matchLabels:
app: nginx