Skip to content

Instantly share code, notes, and snippets.

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

Hidekazu Nakamura hidekazuna

🏠
Working from home
View GitHub Profile
@hidekazuna
hidekazuna / cf-deployment.yml
Last active August 29, 2015 14:10
cf-openstack-nonfs-singlezone-deployment.yml
# /var/vcap/store exists only vms has persistent_disk
# default value is /var/vcap/nfs/shared
<%
static_ip = '10.0.0.211'
root_domain = "#{static_ip}.xip.io"
deployment_name = 'cf-deployment'
cf_release = '192+dev.1'
protocol = 'http'
%>
@hidekazuna
hidekazuna / cf-mysql.yml
Last active August 29, 2015 14:11
deployment manifest file of cf-mysql-release
<%
static_ip = '10.0.0.211'
root_domain = "#{static_ip}.xip.io"
deployment_name = 'cf-mysql'
cf_release = '15+dev.1'
protocol = 'http'
cf_admin_password = 'fakepassword'
cf_admin_user = 'admin'
nats_ip = '192.168.1.112'
nats_password = 'nats_password'
heat_template_version: 2013-05-23
parameters:
key_name:
type: string
default: demo
flavor:
type: string
default: m1.small
image:
type: string
@hidekazuna
hidekazuna / calico.yaml
Created August 8, 2019 10:12
calico.yaml veth_mtu: "1400"
# Calico Version v3.5.7
# https://docs.projectcalico.org/v3.5/releases#v3.5.7
# This manifest includes the following component versions:
# calico/node:v3.5.7
# calico/cni:v3.5.7
# This ConfigMap is used to configure a self-hosted Calico installation.
kind: ConfigMap
apiVersion: v1
metadata:
apiVersion: cluster.x-k8s.io/v1alpha2
kind: Cluster
metadata:
name: test-cluster
namespace: default
spec:
clusterNetwork:
services:
cidrBlocks: ["10.96.0.0/12"]
pods:
apiVersion: cluster.x-k8s.io/v1alpha2
kind: Machine
metadata:
name: test-cluster-kube-master-01
labels:
cluster.x-k8s.io/cluster-name: test-cluster
cluster.x-k8s.io/control-plane: "true"
spec:
bootstrap:
configRef: