专栏首页Jerry的SAP技术分享运行在SAP Kyma上的一个实际pod的例子

运行在SAP Kyma上的一个实际pod的例子

版权声明:署名,允许他人基于本文进行创作,且必须基于与原先许可协议相同的许可协议分发本文 (Creative Commons

Name: test-lambda-84dbb55ddf-8cm4s Namespace: cx-garage Priority: 0 Node: gke-xf-giga-yfus-gke-xf-giga-yfus-gke-3980a7ba-dv2s/10.0.0.3 Start Time: Wed, 10 Jul 2019 14:10:21 +0800 Labels: app=test-lambda created-by=kubeless function=test-lambda pod-template-hash=84dbb55ddf Annotations: function-size: S prometheus.io/path: /metrics prometheus.io/port: 8080 prometheus.io/scrape: true sidecar.istio.io/inject: true sidecar.istio.io/status: {“version”:“c69650e46331b2b430ef1bb30108674e2c60549dbc898fb5dbe39f59418b6fb2”,“initContainers”:[“istio-init”],“containers”:[“istio-proxy”]… Status: Running IP: 10.48.2.39 Controlled By: ReplicaSet/test-lambda-84dbb55ddf Init Containers: prepare: Container ID: docker://1b48a639f3e2bf7a7df009e8276abb1db9c6a41e4666b978ce08d1c02788354d Image: kubeless/unzip@sha256:f162c062973cca05459834de6ed14c039d45df8cdb76097f50b028a1621b3697 Image ID: docker-pullable://kubeless/unzip@sha256:f162c062973cca05459834de6ed14c039d45df8cdb76097f50b028a1621b3697 Port: Host Port: Command: sh -c Args: echo ‘fcc35e3f422aae0e9e6b90d3b374be026e64478dd691af4ac9125ae94390ee8e /src/handler.js’ > /tmp/func.sha256 && sha256sum -c /tmp/func.sha256 && cp /src/handler.js /kubeless/handler.js && cp /src/package.json /kubeless State: Terminated Reason: Completed Exit Code: 0 Started: Wed, 10 Jul 2019 14:10:22 +0800 Finished: Wed, 10 Jul 2019 14:10:22 +0800 Ready: True Restart Count: 0 Environment: Mounts: /kubeless from test-lambda (rw) /src from test-lambda-deps (rw) /var/run/secrets/kubernetes.io/serviceaccount from default-token-8pc58 (ro) istio-init: Container ID: docker://b3a408795f6f0c4f4f83827beb17271f17340838e369c35f0b4d544d1c208373 Image: docker.io/istio/proxy_init:1.1.6 Image ID: docker-pullable://istio/proxy_init@sha256:54d89fb2b3b0a2365f2d2b0a8862f1f8320a63ab6a09c637c60f13f6021c4609 Port: Host Port: Args: -p 15001 -u 1337 -m REDIRECT -i 10.0.0.1/8 -x

  -b
  8080
  -d
  15020
State:          Terminated
  Reason:       Completed
  Exit Code:    0
  Started:      Wed, 10 Jul 2019 14:10:23 +0800
  Finished:     Wed, 10 Jul 2019 14:10:24 +0800
Ready:          True
Restart Count:  0
Limits:
  cpu:     100m
  memory:  50Mi
Requests:
  cpu:        10m
  memory:     10Mi
Environment:  <none>
Mounts:       <none>

Containers: test-lambda: Container ID: docker://f34c7ccee36d6d0e93ff11c87524320114291606d36718612c1c4929454a230d Image: eu.gcr.io/kyma-project/kubeless-images-node8:1.2.2 Image ID: docker-pullable://eu.gcr.io/kyma-project/kubeless-images-node8@sha256:024c594eeefe568366f1c283173eadd21c4d89e12ba43ac784f31ef8e6d5a60d Port: 8080/TCP Host Port: 0/TCP State: Running Started: Wed, 10 Jul 2019 14:10:25 +0800 Ready: True Restart Count: 0 Limits: cpu: 100m memory: 128Mi Requests: cpu: 100m memory: 100Mi Liveness: exec [curl -f http://localhost:8080/healthz] delay=5s timeout=30s period=5s #success=1 #failure=3 Environment: FUNC_HANDLER: main MOD_NAME: handler FUNC_TIMEOUT: 180 FUNC_RUNTIME: nodejs8 FUNC_MEMORY_LIMIT: 128Mi FUNC_PORT: 8080 KUBELESS_INSTALL_VOLUME: /kubeless NODE_PATH: $(KUBELESS_INSTALL_VOLUME)/node_modules Mounts: /kubeless from test-lambda (rw) /var/run/secrets/kubernetes.io/serviceaccount from default-token-8pc58 (ro) istio-proxy: Container ID: docker://b441e4411b9cdf3bbdf20a025c956d7e66025b08053934614c0f9d3dfbfb4502 Image: docker.io/istio/proxyv2:1.1.6 Image ID: docker-pullable://istio/proxyv2@sha256:e7ee1ad38bd5b556ad0527ac691a9f647b66835960417b154c5d28b2ed9219cb Port: 15090/TCP Host Port: 0/TCP Args: proxy sidecar –domain (PODNAMESPACE).svc.cluster.local−−configPath/etc/istio/proxy−−binaryPath/usr/local/bin/envoy−−serviceClustertest−lambda.(POD_NAMESPACE).svc.cluster.local --configPath /etc/istio/proxy --binaryPath /usr/local/bin/envoy --serviceCluster test-lambda.(PODN​AMESPACE).svc.cluster.local−−configPath/etc/istio/proxy−−binaryPath/usr/local/bin/envoy−−serviceClustertest−lambda.(POD_NAMESPACE) –drainDuration 45s –parentShutdownDuration 1m0s –discoveryAddress istio-pilot.istio-system:15010 –zipkinAddress zipkin.kyma-system:9411 –connectTimeout 10s –proxyAdminPort 15000 –concurrency 2 –controlPlaneAuthPolicy NONE –statusPort 15020 –applicationPorts 8080 State: Running Started: Wed, 10 Jul 2019 14:10:25 +0800 Ready: True Restart Count: 0 Limits: cpu: 100m memory: 128Mi Requests: cpu: 10m memory: 128Mi Readiness: http-get http://:15020/healthz/ready delay=1s timeout=1s period=2s #success=1 #failure=30 Environment: POD_NAME: test-lambda-84dbb55ddf-8cm4s (v1:metadata.name) POD_NAMESPACE: cx-garage (v1:metadata.namespace) INSTANCE_IP: (v1:status.podIP) ISTIO_META_POD_NAME: test-lambda-84dbb55ddf-8cm4s (v1:metadata.name) ISTIO_META_CONFIG_NAMESPACE: cx-garage (v1:metadata.namespace) ISTIO_META_INTERCEPTION_MODE: REDIRECT ISTIO_METAJSON_ANNOTATIONS: {“function-size”:“S”,“prometheus.io/path":"/metrics",“prometheus.io/port”:“8080”,“prometheus.io/scrape”:“true”,“sidecar.istio.io/inject”:"true”}

  ISTIO_METAJSON_LABELS:         {"app":"test-lambda","created-by":"kubeless","function":"test-lambda","pod-template-hash":"84dbb55ddf"}
                                 
  ISTIO_KUBE_APP_PROBERS:        {}
Mounts:
  /etc/certs/ from istio-certs (ro)
  /etc/istio/proxy from istio-envoy (rw)
  /var/run/secrets/kubernetes.io/serviceaccount from default-token-8pc58 (ro)

Conditions: Type Status Initialized True Ready True ContainersReady True PodScheduled True Volumes: test-lambda: Type: EmptyDir (a temporary directory that shares a pod’s lifetime) Medium: SizeLimit: test-lambda-deps: Type: ConfigMap (a volume populated by a ConfigMap) Name: test-lambda Optional: false default-token-8pc58: Type: Secret (a volume populated by a Secret) SecretName: default-token-8pc58 Optional: false istio-envoy: Type: EmptyDir (a temporary directory that shares a pod’s lifetime) Medium: Memory SizeLimit: istio-certs: Type: Secret (a volume populated by a Secret) SecretName: istio.default Optional: true QoS Class: Burstable Node-Selectors: Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s node.kubernetes.io/unreachable:NoExecute for 300s Events:

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

我来说两句

0 条评论
登录 后参与评论

相关文章

  • SAP S4HANA custom logic的一个实际例子

    Jerry Wang
  • 打通C/4HANA和S/4HANA的一个原型开发:智能服务创新案例

    今年6月SAP发布C/4HANA之后,有顾问朋友们在微信公众号后台留言,询问C/4HANA如何同SAP的数字化核心S/4HANA系统结合起来,从而打通企业的前后...

    Jerry Wang
  • 打通C/4HANA和S/4HANA的一个原型开发:智能服务创新案例

    今年6月SAP发布C/4HANA之后,有顾问朋友们在微信公众号后台留言,询问C/4HANA如何同SAP的数字化核心S/4HANA系统结合起来,从而打通企业的前后...

    Jerry Wang
  • istio-2:istio1.4.2-demo部署与体验,聊聊一些个人看法

    b.本文主要以《深入浅出Istio:Service Mesh快速入门与实践》中的python-flask-demo为例论述。

    千里行走
  • istio-2:istio1.4.2-demo部署与体验,聊聊一些个人看法

    b.本文主要以《深入浅出Istio:Service Mesh快速入门与实践》中的python-flask-demo为例论述。

    Criss@陈磊
  • 微信小程序新功能上线 一键连Wi-Fi手机变门禁卡

    原标题:微信小程序新功能上线 一键连Wi-Fi手机变门禁卡 【PConline资讯】习惯于放深夜“炸弹”的小程序团队又来了。12月16日晚间,微信小程序再次迎来...

    企鹅号小编
  • Linux nohup和&的使用说明,"2>1&"含义解释

    Linux中nohup和&配合使用说明,以及使用时2>1& 的解释,还有Linux进程查询等命令

    俺也想起舞
  • 微信小程序重磅功能上线!一键连Wi-Fi/手机变门禁卡

    习惯于放深夜“炸弹”的小程序团队又来了。12月16日晚间,微信小程序再次迎来“能力”升级。主要有四点:更多硬件连接功能、基础能力升级、实时音视频录制机播放能力升...

    企鹅号小编
  • 谈谈一些有趣的CSS题目(三)-- 层叠顺序与堆栈上下文知多少

    Sb_Coco
  • VBA 给Excel添加自定义菜单栏

    巴西_prince

扫码关注云+社区

领取腾讯云代金券