This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"os/exec" | |
"sync" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"sync" | |
"time" | |
"github.com/dstorck/gogo" | |
api "github.com/samsung-cnct/cluster-controller/pkg/apis/clustercontroller/v1alpha1" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
int T, N, M, i; | |
typedef struct Work { | |
int link_count; | |
int counted; | |
struct Work* links[301]; | |
} tWork; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
int T, N, M, i; | |
typedef struct Work { | |
int link_count; | |
int counted; | |
struct Work* links[301]; | |
} tWork; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: null | |
labels: | |
component: etcd | |
tier: control-plane | |
name: etcd | |
namespace: kube-system | |
spec: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"kubernetes": { | |
"version": "1.10.4" | |
}, | |
"docker": { | |
"version": "18.03.1-ce" | |
}, | |
"nodes": [ | |
{ | |
"ip": "192.168.2.82", |