Skip to content

Instantly share code, notes, and snippets.

View joejulian's full-sized avatar
🕶️
working without pants.

Joe Julian joejulian

🕶️
working without pants.
View GitHub Profile
package main
import (
"fmt"
"log"
"os"
"os/exec"
"sync"
)
series: xenial
description: A four-machine Kubernetes cluster, appropriate for production. Includes a three-machine etcd cluster and three Kubernetes worker nodes.
services:
canal:
annotations:
gui-x: '450'
gui-y: '750'
charm: cs:~containers/canal-30
easyrsa:
annotations:
package main
import (
"github.com/dstorck/gogo"
)
func main() {
// This data should come from the resource.
maasEndpoint := "https://192.168.2.24/MAAS/api/2.0"
clusterName := "fred"
package main
import (
"fmt"
"sync"
"time"
"github.com/dstorck/gogo"
api "github.com/samsung-cnct/cluster-controller/pkg/apis/clustercontroller/v1alpha1"
)
series: xenial
description: A four-machine Kubernetes cluster, appropriate for production. Includes a three-machine etcd cluster and three Kubernetes worker nodes.
services:
canal:
annotations:
gui-x: '450'
gui-y: '750'
charm: cs:~containers/canal-30
easyrsa:
annotations:
#include <stdio.h>
#include <stdlib.h>
int T, N, M, i;
typedef struct Work {
int link_count;
int counted;
struct Work* links[301];
} tWork;
#include <stdio.h>
#include <stdlib.h>
int T, N, M, i;
typedef struct Work {
int link_count;
int counted;
struct Work* links[301];
} tWork;
#include <stdio.h>
#include <stdlib.h>
#define MAX(a,b) (((a)>(b))?(a):(b))
int N;
typedef struct Exit {
struct Stage * stage;
struct Exit * nextExit;
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: null
labels:
component: etcd
tier: control-plane
name: etcd
namespace: kube-system
spec:
{
"kubernetes": {
"version": "1.10.4"
},
"docker": {
"version": "18.03.1-ce"
},
"nodes": [
{
"ip": "192.168.2.82",