Skip to content

Commit

Permalink
Initial cluster configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Holbach committed Sep 9, 2020
1 parent 5bf751f commit fcfc69e
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ items:
- args:
- --ssh-keygen-dir=/var/fluxd/keygen
- --git-url=https://github.com/weaveworks/wks-quickstart-firekube.git
- --git-branch=master
- --git-branch=fix-0-8-4
- --git-poll-interval=30s
- --git-path=.
- --git-readonly
Expand Down
25 changes: 25 additions & 0 deletions footloose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
cluster:
name: firekube
privateKey: cluster-key
machines:
- count: 2
spec:
backend: ignite
ignite:
cpus: 2
diskSize: 5GB
kernel: weaveworks/ignite-kernel:4.19.47
memory: 1GB
image: weaveworks/ignite-centos:firekube-pre3
name: node%d
portMappings:
- containerPort: 22
hostPort: 2222
- containerPort: 6443
hostPort: 6443
- containerPort: 30443
hostPort: 30443
- containerPort: 30080
hostPort: 30080
privileged: false
volumes: []
39 changes: 39 additions & 0 deletions machines.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: v1
items:
- apiVersion: cluster.k8s.io/v1alpha1
kind: Machine
metadata:
labels:
set: master
name: master-0
namespace: weavek8sops
spec:
providerSpec:
value:
apiVersion: baremetalproviderspec/v1alpha1
kind: BareMetalMachineProviderSpec
private:
address: 10.61.0.14
port: 22
public:
address: 127.0.0.1
port: 2222
- apiVersion: cluster.k8s.io/v1alpha1
kind: Machine
metadata:
labels:
set: worker
name: worker-0
namespace: weavek8sops
spec:
providerSpec:
value:
apiVersion: baremetalproviderspec/v1alpha1
kind: BareMetalMachineProviderSpec
private:
address: 10.61.0.15
port: 22
public:
address: 127.0.0.1
port: 2223
kind: List
2 changes: 1 addition & 1 deletion wks-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
value: 172.17.0.1
- name: FOOTLOOSE_BACKEND
value: docker
image: docker.io/weaveworks/wksctl-controller:<version>
image: docker.io/weaveworks/wksctl-controller:v0.8.4
command:
- /bin/controller
- --verbose
Expand Down

0 comments on commit fcfc69e

Please sign in to comment.