ibm cloud k8sでマイクラを遊んでみる

Post on 21-Jan-2018

171 Views

Category:

Internet

3 Downloads

Preview:

Click to see full reader

TRANSCRIPT

IBM Cloud K8SPumpkin Heads Co.,Ltd. / Shoichiro Sakaigawa @phssakaigawa

2 0 1 8 / 0 1 / 1 8 B M X U G # 4

SE

kubernetes

IBM Cloud Container Service(kubernetes) / OpenWhisk / OpenShift Origin

qiita: ssakaigawa

Twitter: l_s_s_l

IBM Cloud Container Service(kubernetes)

Qiita

BMXUG 2

Node-RED

Qiita

RedHat OpenShift

Qiita

Qiita

※ Qiita

http://bit.ly/BMXUG-Tsukiji4-minecraft

MOJANG Java

Windows10,X-Box,Nintendo Siwtch

Shinnosuke015 @

Shinnosuke015 @

Shinnosuke015 @

Shinnosuke015 @

@

Minecraft meets IBM Watson

developerWorks

minecraft

IBM Cloud Container Servicekubernetes

Java Edition

Raspberry pi

Nintendo Switch

”Spigot”

OSS

IBM Cloud Container Service (Kubernetes/k8s)

IBM CloudContainer Service

SpigotMinecraft Server

Container

Watson Plugin(working…)

Watson Conversation

Watson Plugin

Container Service Conversation

Build and Try

Container Service

K8S

make Dockerfile

push Docker Registry

Deploy/Service

Deploy/Service

Build and Try

Container Service

$ bx login -a api.eu-gb.bluemix.net

$ bx target --cf

$ bx cs clusters

K8S

$ bx cs cluster-config {cluster name}

Build and Trymake Dockerfile

CentOS

git / wget / java

spigot

spigot EULA

spigot

Spigot jar

Build and Try

$ bx cr login

$ docker build -t registry.eu-gb.bluemix.net/hogehoge/spigot-ibm-cloud .

push Docker Registry

$ docker push registry.eu-gb.bluemix.net/hogehoge/spigot-ibm-cloud

$ bx cr image-list

Build and TryDeploy/Service

Deploy

spigot

image: registry.eu-gb.bluemix.net/ssk8s/spigot-ibm-cloud

Service

NodePort

TCP/25565

Build and TryDeploy/Service

$ ~/kubectl create -f deploy.yml

deployment "spigot" created

service "spigot-service" created

$ bx cs workers ssk8s

PublicIP

$ ~/kubectl get svc

PORTS

Let’s play!minecraft

{Public IP}:{ }

168..**.83:30009

java

IBM Cloud Container Service

IBM Cloud Container Service ServiceBroker

Watson

Node-RED

deverloperWorks Medical Minecraft

AI

top related