Jerry本地安装SAP Kyma的一些失败尝试

127 阅读1分钟

Jerry Installation

homebrew uninstall: /usr/bin/ruby -e “$(curl -fsSL raw.githubusercontent.com/Homebrew/in…

install: /usr/bin/ruby -e “$(curl -fsSL raw.githubusercontent.com/Homebrew/in…

command C - option + command + v

set up certificate:
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain certs/workspace/raw/server.crt

github.com/kubernetes/…

github.com/kubernetes/…

kyma proxy set in Virtual Machine:

cd /etc/systemd/system/

sudo mkdir docker.service.d

cd docker.service.d
sudo vi http-proxy.conf

[Service]
Environment=“HTTP_PROXY=proxy.wdf.jerry.corp:8080/”

sudo systemctl daemon-reload
sudo systemctl restart docker
exit

k8s.gcr.io/pause-amd64:3.1

cmd/run.sh --skip-minikube-start - does not work

sudo kubectl -n kube-system describe pod tiller-deploy-5b945b8b89-hggjs

Bind the services to the applications through Secrets.

Secret is a basic resource to transfer logins and passwords to the Deployment. The service binding process leads to the creation of a Secret.

Provisioning a service means creating an instance of a service.

sudo fs_usage -f filesys - resource busy?!

Partner Session

  1. include SAP CP Extension Factory in the SAP Commerce Cloud V2 roadmap section and as part of our C/4 Hana vision
  2. Moritz blog:www.linkedin.com/pulse/yaas-…
  3. Developing cloud-native applications on Kubernetes is now much easier with Knative and Kyma
    www.linkedin.com/pulse/devel…
  4. sudo kubectl get pods --all-namespaces

查看安装log:kubectl logs -n kyma-installer kyma-installer-67946df775-nrd6f

Minikube
sudo kubectl run hello-minikube --image=k8s.gcr.io/echoserver:1.4 --port=8080

sudo kubectl expose deployment hello-minikube --type=NodePort

We have now launched an echoserver pod but we have to wait until the pod is up before curling/accessing it

via the exposed service.

To check whether the pod is up and running we can use the following:

sudo curl $(minikube service hello-minikube --url)

How to set proxy

minikube ssh “systemctl show docker --property=Environment”

sudo minikube start --docker-env “HTTP_PROXY=proxy.wdf.diablo.corp:8080” --docker-env “HTTPS_PROXY=proxy.wdf.jerry.corp:8080”

Error getting host: Machine does not exist for api.Exists(minikube)4

要获取更多Jerry的原创文章,请关注公众号"汪子熙":