docker pull gcr.io/google_containers/kube-apiserver-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-controller-manager-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-proxy-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-scheduler-amd64:v1.5.0
docker pull weaveworks/weave-npc:1.8.2
docker pull weaveworks/weave-kube:1.8.2
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.provider "virtualbox" do |v| | |
v.memory = 2048 | |
end | |
config.vm.define "es_node1" do |esno| |
Una de las maneras más simples de relacionarse con Kubernetes es usar minikube para ejecutar comandos
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.30.0/minikube-linux-amd64 && chmod +x minikube && sudo cp minikube /usr/local/bin/ && rm minikube
This file contains 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
JAVA_HOME environment variable is set to /opt/java/openjdk | |
CARBON_HOME environment variable is set to /home/wso2carbon/wso2sp-4.3.0 | |
RUNTIME_HOME environment variable is set to /home/wso2carbon/wso2sp-4.3.0/wso2/dashboard | |
osgi> [2019-09-23 13:53:02,575] INFO {org.wso2.msf4j.internal.websocket.EndpointsRegistryImpl} - Endpoint Registered : /websocket-provider/{topic} | |
[2019-09-23 13:53:03,994] INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available. | |
[2019-09-23 13:53:04,201] INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available | |
[2019-09-23 13:53:04,212] INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics' | |
[2019-09-23 13:53:04,260] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics | |
[2019-09-23 13:53:04,584] INFO {org.wso2.msf4j.analytics.metrics.Metri |
This file contains 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
minikube.exe start --cpus 2 --memory 8192 --driver=hyperv --hyperv-virtual-switch=k8s_minikube |
This file contains 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
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All |
This file contains 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
New-VMSwitch -Name k8s_minikube -AllowManagement $true -NetAdapterName Ethernet |
This file contains 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
choco install minikube kubernetes-cli |
This file contains 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
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.16.0/serving-crds.yaml | |
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.16.0/serving-core.yaml | |
# Instalación de los operadores de istio con ayuda del controlador | |
istioctl manifest apply -f istio-minimal-operator.yml | |
kubectl apply --filename https://github.com/knative/net-istio/releases/download/v0.16.0/release.yaml | |
kubectl --namespace istio-system get service istio-ingressgateway | |
# Cuando corres este script se queda esperando no olvide dar ctr-c | |
kubectl get pods -w --namespace knative-serving |
This file contains 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
#Paquete Adicionales para Scala | |
# Herramienta de construcción SBT | |
RUN echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list \ | |
&& curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo apt-key add \ | |
&& sudo apt-get update \ | |
&& sudo apt-get -y install sbt |