github.com/replicatedhq/ship@v0.55.0/integration/init/factorio/expected/.ship/upstream/templates/NOTES.txt (about) 1 Get the IP address of your Factorio server by running these commands in the 2 same shell: 3 4 {{- if contains "NodePort" .Values.factorioServer.serviceType }} 5 export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} \ 6 -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "factorio.fullname" . }}) 7 export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} \ 8 -o jsonpath="{.items[0].status.addresses[0].address}") 9 echo "You'll need to expose this node through your security groups/firewall" 10 echo "for it to be world-accessible." 11 echo $NODE_IP:$NODE_PORT 12 13 {{- else if contains "LoadBalancer" .Values.factorioServer.serviceType }} 14 !! NOTE: It may take a few minutes for the LoadBalancer IP to be available. 15 16 !! NOTE: If you installed this on an AWS cluster, your game will be 17 un-reachable. AWS ELB does not support UDP. You'll need to use a NodePort 18 value for factorioServer.serviceType. See the README.md for more info. 19 20 You can watch for EXTERNAL-IP to populate by running: 21 kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "factorio.fullname" . }} 22 23 {{- else if contains "ClusterIP" .Values.factorioServer.serviceType }} 24 export POD_NAME=$(kubectl get pods \ 25 --namespace {{ .Release.Namespace }} \ 26 -l "component={{ template "factorio.fullname" . }}" \ 27 -o jsonpath="{.items[0].metadata.name}") 28 kubectl port-forward $POD_NAME 34197:34197 29 echo "Point your Minecraft client at 127.0.0.1:34197" 30 31 {{- end }} 32 33 {{- if .Values.persistence.savedGames.enabled }} 34 {{- else }} 35 ############################################################################ 36 ### WARNING: Persistence is disabled!!! You will lose your game state ### 37 ### when the Factorio pod is terminated. ### 38 ### See values.yaml's Persistence.SavedGames.Enabled directive. ### 39 ############################################################################ 40 {{- end }}