factorio-operator

command module
v0.0.0-...-9775977 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

README

Factorio-Operator

This repo is an operator for kubernetes that manages servers for factorio

Generated by kubebuilder Uses images from factoriotools

Quick Start

# install kubebuilder
# verify k8s credentials
make install
make run
# Create a server
kubectl apply -f hack/extra.yaml
# view servers
$ kubectl get factorioservers
NAME                       PORT
factorioserver-00          32082
factorioserver-01          32066
factorioserver-02          30002

Connect to the server (using the factorio client) at <node public ip>:<PORT>

For IBM Cloud Kubernetes Service, get the node ips with:

$ ibmcloud ks workers --cluster <your cluster name>
ID                                                       Public IP       Private IP     Flavor               State    Status   Zone    Version
kube-bu87gisd0hagohv8j7t0-nibzingress-default-0000018d   169.62.xx.xxx   10.87.62.86    b3c.4x16.encrypted   normal   Ready    sjc04   1.18.9_1530*
kube-bu87gisd0hagohv8j7t0-nibzingress-default-00000234   169.62.xx.xxx   10.87.62.87    b3c.4x16.encrypted   normal   Ready    sjc04   1.18.9_1530*
kube-bu87gisd0hagohv8j7t0-nibzingress-default-000003c5   169.62.xx.xxx   10.87.62.109   b3c.4x16.encrypted   normal   Ready    sjc04   1.18.9_1530*

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1
Package v1 contains API Schema definitions for the automators v1 API group +kubebuilder:object:generate=true +groupName=automators.labs.nibz.science
Package v1 contains API Schema definitions for the automators v1 API group +kubebuilder:object:generate=true +groupName=automators.labs.nibz.science

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL