Advertisement
Guest User

Untitled

a guest
Jan 24th, 2022
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.08 KB | None | 0 0
  1. $ kubectl describe pods owdev-controller-0 -n openwhisk
  2. Name: owdev-controller-0
  3. Namespace: openwhisk
  4. Priority: 0
  5. Node: cloud2.t6.ch-geni-net.geni.case.edu/192.171.20.120
  6. Start Time: Mon, 24 Jan 2022 01:19:13 -0600
  7. Labels: app=owdev-openwhisk
  8. chart=openwhisk-1.0.1
  9. controller-revision-hash=owdev-controller-759556d8dd
  10. heritage=Helm
  11. name=owdev-controller
  12. release=owdev
  13. statefulset.kubernetes.io/pod-name=owdev-controller-0
  14. Annotations: cni.projectcalico.org/containerID: 0f021dd8a32f834147456b16c7abd1796e293f6dbe62022529822322ca5b6339
  15. cni.projectcalico.org/podIP: 192.168.246.22/32
  16. cni.projectcalico.org/podIPs: 192.168.246.22/32
  17. Status: Pending
  18. IP: 192.168.246.22
  19. IPs:
  20. IP: 192.168.246.22
  21. Controlled By: StatefulSet/owdev-controller
  22. Init Containers:
  23. wait-for-kafka:
  24. Container ID: docker://2345a9f9707e247aea23c02c5e837b3696060be14cc1c5ac0a2383edbe128be3
  25. Image: openwhisk/ow-utils:3e6138d
  26. Image ID: docker-pullable://openwhisk/ow-utils@sha256:0b1a3531ade6774069f3f5777784f1d2446d2165537dd617bbc7302bcfb690b1
  27. Port: <none>
  28. Host Port: <none>
  29. Command:
  30. sh
  31. -c
  32. cacert="/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"; token="$(cat /var/run/secrets/kubernetes.io/serviceaccount/token)"; while true; do rc=$(curl -sS --cacert $cacert --header "Authorization: Bearer $token" https://kubernetes.default.svc/api/v1/namespaces/openwhisk/endpoints/owdev-kafka | jq -r ".subsets[].addresses | length"); echo "num ready kafka endpoints is $rc"; if [ $rc -gt 0 ]; then echo "Success: ready kafka endpoint!"; break; fi; echo "kafka not ready yet; sleeping for 3 seconds"; sleep 3; done;
  33. State: Running
  34. Started: Mon, 24 Jan 2022 01:20:10 -0600
  35. Ready: False
  36. Restart Count: 0
  37. Environment: <none>
  38. Mounts:
  39. /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-mbhjz (ro)
  40. wait-for-couchdb:
  41. Container ID:
  42. Image: busybox:latest
  43. Image ID:
  44. Port: <none>
  45. Host Port: <none>
  46. Command:
  47. sh
  48. -c
  49. while true; do echo 'checking CouchDB readiness'; wget -T 5 --spider $READINESS_URL --header="Authorization: Basic d2hpc2tfYWRtaW46c29tZV9wYXNzdzByZA=="; result=$?; if [ $result -eq 0 ]; then echo 'Success: CouchDB is ready!'; break; fi; echo '...not ready yet; sleeping 3 seconds before retry'; sleep 3; done;
  50. State: Waiting
  51. Reason: PodInitializing
  52. Ready: False
  53. Restart Count: 0
  54. Environment:
  55. READINESS_URL: http://owdev-couchdb.openwhisk.svc.cluster.local:5984/ow_kube_couchdb_initialized_marker
  56. Mounts:
  57. /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-mbhjz (ro)
  58. Containers:
  59. controller:
  60. Container ID:
  61. Image: openwhisk/controller:3e6138d
  62. Image ID:
  63. Ports: 8080/TCP, 2552/TCP, 19999/TCP
  64. Host Ports: 0/TCP, 0/TCP, 0/TCP
  65. Command:
  66. /bin/bash
  67. -c
  68. /init.sh `hostname | awk -F '-' '{print $NF}'`
  69. State: Waiting
  70. Reason: PodInitializing
  71. Ready: False
  72. Restart Count: 0
  73. Liveness: http-get http://:8080/ping delay=10s timeout=1s period=10s #success=1 #failure=3
  74. Readiness: http-get http://:8080/ping delay=10s timeout=1s period=10s #success=1 #failure=3
  75. Environment:
  76. PORT: 8080
  77. TZ: UTC
  78. CONFIG_whisk_info_date: <set to the key 'whisk_info_date' of config map 'owdev-whisk.config'> Optional: false
  79. CONFIG_whisk_info_buildNo: <set to the key 'whisk_info_buildNo' of config map 'owdev-whisk.config'> Optional: false
  80. JAVA_OPTS: -Xmx1024M
  81. CONTROLLER_OPTS:
  82. RUNTIMES_MANIFEST: {
  83. "runtimes": {
  84. "nodejs": [
  85. {
  86. "kind": "nodejs:12",
  87. "default": false,
  88. "image": {
  89. "prefix": "openwhisk",
  90. "name": "action-nodejs-v12",
  91. "tag": "1.19.0"
  92. },
  93. "deprecated": false,
  94. "attached": {
  95. "attachmentName": "codefile",
  96. "attachmentType": "text/plain"
  97. }
  98. },
  99. {
  100. "kind": "nodejs:14",
  101. "default": true,
  102. "image": {
  103. "prefix": "openwhisk",
  104. "name": "action-nodejs-v14",
  105. "tag": "1.19.0"
  106. },
  107. "deprecated": false,
  108. "attached": {
  109. "attachmentName": "codefile",
  110. "attachmentType": "text/plain"
  111. },
  112. "stemCells": [
  113. {
  114. "initialCount": 2,
  115. "memory": "256 MB",
  116. "reactive": {
  117. "minCount": 1,
  118. "maxCount": 4,
  119. "ttl": "2 minutes",
  120. "threshold": 1,
  121. "increment": 1
  122. }
  123. }
  124. ]
  125. }
  126. ],
  127. "python": [
  128. {
  129. "kind": "python:3",
  130. "default": true,
  131. "image": {
  132. "prefix": "openwhisk",
  133. "name": "action-python-v3.7",
  134. "tag": "1.17.0"
  135. },
  136. "deprecated": false,
  137. "attached": {
  138. "attachmentName": "codefile",
  139. "attachmentType": "text/plain"
  140. }
  141. }
  142. ],
  143. "swift": [
  144. {
  145. "kind": "swift:4.2",
  146. "default": true,
  147. "image": {
  148. "prefix": "openwhisk",
  149. "name": "action-swift-v4.2",
  150. "tag": "1.17.0"
  151. },
  152. "deprecated": false,
  153. "attached": {
  154. "attachmentName": "codefile",
  155. "attachmentType": "text/plain"
  156. }
  157. },
  158. {
  159. "kind": "swift:5.1",
  160. "default": false,
  161. "image": {
  162. "prefix": "openwhisk",
  163. "name": "action-swift-v5.1",
  164. "tag": "1.17.0"
  165. },
  166. "deprecated": false,
  167. "attached": {
  168. "attachmentName": "codefile",
  169. "attachmentType": "text/plain"
  170. }
  171. },
  172. {
  173. "kind": "swift:5.3",
  174. "default": false,
  175. "image": {
  176. "prefix": "openwhisk",
  177. "name": "action-swift-v5.3",
  178. "tag": "1.17.0"
  179. },
  180. "deprecated": false,
  181. "attached": {
  182. "attachmentName": "codefile",
  183. "attachmentType": "text/plain"
  184. }
  185. },
  186. {
  187. "kind": "swift:5.4",
  188. "default": false,
  189. "image": {
  190. "prefix": "openwhisk",
  191. "name": "action-swift-v5.4",
  192. "tag": "1.17.0"
  193. },
  194. "deprecated": false,
  195. "attached": {
  196. "attachmentName": "codefile",
  197. "attachmentType": "text/plain"
  198. }
  199. }
  200. ],
  201. "java": [
  202. {
  203. "kind": "java:8",
  204. "default": true,
  205. "image": {
  206. "prefix": "openwhisk",
  207. "name": "java8action",
  208. "tag": "1.17.0"
  209. },
  210. "deprecated": false,
  211. "attached": {
  212. "attachmentName": "jarfile",
  213. "attachmentType": "application/java-archive"
  214. },
  215. "requireMain": true
  216. }
  217. ],
  218. "php": [
  219. {
  220. "kind": "php:7.3",
  221. "default": false,
  222. "deprecated": false,
  223. "image": {
  224. "prefix": "openwhisk",
  225. "name": "action-php-v7.3",
  226. "tag": "1.17.0"
  227. },
  228. "attached": {
  229. "attachmentName": "codefile",
  230. "attachmentType": "text/plain"
  231. }
  232. },
  233. {
  234. "kind": "php:7.4",
  235. "default": true,
  236. "deprecated": false,
  237. "image": {
  238. "prefix": "openwhisk",
  239. "name": "action-php-v7.4",
  240. "tag": "1.17.0"
  241. },
  242. "attached": {
  243. "attachmentName": "codefile",
  244. "attachmentType": "text/plain"
  245. }
  246. },
  247. {
  248. "kind": "php:8.0",
  249. "default": false,
  250. "deprecated": false,
  251. "image": {
  252. "prefix": "openwhisk",
  253. "name": "action-php-v7.4",
  254. "tag": "1.17.0"
  255. },
  256. "attached": {
  257. "attachmentName": "codefile",
  258. "attachmentType": "text/plain"
  259. }
  260. }
  261. ],
  262. "ruby": [
  263. {
  264. "kind": "ruby:2.5",
  265. "default": true,
  266. "deprecated": false,
  267. "attached": {
  268. "attachmentName": "codefile",
  269. "attachmentType": "text/plain"
  270. },
  271. "image": {
  272. "prefix": "openwhisk",
  273. "name": "action-ruby-v2.5",
  274. "tag": "1.17.0"
  275. }
  276. }
  277. ],
  278. "go": [
  279. {
  280. "kind": "go:1.15",
  281. "default": true,
  282. "deprecated": false,
  283. "attached": {
  284. "attachmentName": "codefile",
  285. "attachmentType": "text/plain"
  286. },
  287. "image": {
  288. "prefix": "openwhisk",
  289. "name": "action-golang-v1.15",
  290. "tag": "1.18.0"
  291. }
  292. }
  293. ],
  294. "rust": [
  295. {
  296. "kind": "rust:1.34",
  297. "default": true,
  298. "deprecated": false,
  299. "attached": {
  300. "attachmentName": "codefile",
  301. "attachmentType": "text/plain"
  302. },
  303. "image": {
  304. "prefix": "openwhisk",
  305. "name": "action-rust-v1.34",
  306. "tag": "1.3.0"
  307. }
  308. }
  309. ],
  310. "dotnet": [
  311. {
  312. "kind": "dotnet:2.2",
  313. "default": true,
  314. "deprecated": false,
  315. "requireMain": true,
  316. "image": {
  317. "prefix": "openwhisk",
  318. "name": "action-dotnet-v2.2",
  319. "tag": "1.16.0"
  320. },
  321. "attached": {
  322. "attachmentName": "codefile",
  323. "attachmentType": "text/plain"
  324. }
  325. },
  326. {
  327. "kind": "dotnet:3.1",
  328. "default": false,
  329. "deprecated": false,
  330. "requireMain": true,
  331. "image": {
  332. "prefix": "openwhisk",
  333. "name": "action-dotnet-v3.1",
  334. "tag": "1.16.0"
  335. },
  336. "attached": {
  337. "attachmentName": "codefile",
  338. "attachmentType": "text/plain"
  339. }
  340. }
  341. ],
  342. "ballerina": [
  343. {
  344. "kind": "ballerina:0.990",
  345. "default": true,
  346. "image": {
  347. "prefix": "openwhisk",
  348. "name": "action-ballerina-v0.990.2",
  349. "tag": "nightly"
  350. },
  351. "deprecated": false,
  352. "attached": {
  353. "attachmentName": "codefile",
  354. "attachmentType": "text/plain"
  355. }
  356. }
  357. ]
  358. },
  359. "blackboxes": [
  360. {
  361. "prefix": "openwhisk",
  362. "name": "dockerskeleton",
  363. "tag": "1.14.0"
  364. }
  365. ]
  366. }
  367.  
  368. LIMITS_ACTIONS_INVOKES_PERMINUTE: 60
  369. LIMITS_ACTIONS_INVOKES_CONCURRENT: 30
  370. LIMITS_TRIGGERS_FIRES_PERMINUTE: 60
  371. LIMITS_ACTIONS_SEQUENCE_MAXLENGTH: 50
  372. CONFIG_whisk_timeLimit_min: 100ms
  373. CONFIG_whisk_timeLimit_max: 5m
  374. CONFIG_whisk_timeLimit_std: 1m
  375. CONFIG_whisk_memory_min: 128m
  376. CONFIG_whisk_memory_max: 512m
  377. CONFIG_whisk_memory_std: 256m
  378. CONFIG_whisk_concurrencyLimit_min: 1
  379. CONFIG_whisk_concurrencyLimit_max: 1
  380. CONFIG_whisk_concurrencyLimit_std: 1
  381. CONFIG_whisk_logLimit_min: 0m
  382. CONFIG_whisk_logLimit_max: 10m
  383. CONFIG_whisk_logLimit_std: 10m
  384. CONFIG_whisk_activation_payload_max: 1048576
  385. CONFIG_whisk_loadbalancer_blackboxFraction: 10%
  386. CONFIG_whisk_loadbalancer_timeoutFactor: 2
  387. KAFKA_HOSTS: owdev-kafka-0.owdev-kafka.openwhisk.svc.cluster.local:9092
  388. CONFIG_whisk_kafka_replicationFactor:
  389. CONFIG_whisk_kafka_topics_cacheInvalidation_retentionBytes:
  390. CONFIG_whisk_kafka_topics_cacheInvalidation_retentionMs:
  391. CONFIG_whisk_kafka_topics_cacheInvalidation_segmentBytes:
  392. CONFIG_whisk_kafka_topics_completed_retentionBytes:
  393. CONFIG_whisk_kafka_topics_completed_retentionMs:
  394. CONFIG_whisk_kafka_topics_completed_segmentBytes:
  395. CONFIG_whisk_kafka_topics_events_retentionBytes:
  396. CONFIG_whisk_kafka_topics_events_retentionMs:
  397. CONFIG_whisk_kafka_topics_events_segmentBytes:
  398. CONFIG_whisk_kafka_topics_health_retentionBytes:
  399. CONFIG_whisk_kafka_topics_health_retentionMs:
  400. CONFIG_whisk_kafka_topics_health_segmentBytes:
  401. CONFIG_whisk_kafka_topics_invoker_retentionBytes:
  402. CONFIG_whisk_kafka_topics_invoker_retentionMs:
  403. CONFIG_whisk_kafka_topics_invoker_segmentBytes:
  404. CONFIG_whisk_couchdb_username: <set to the key 'db_username' in secret 'owdev-db.auth'> Optional: false
  405. CONFIG_whisk_couchdb_password: <set to the key 'db_password' in secret 'owdev-db.auth'> Optional: false
  406. CONFIG_whisk_couchdb_port: <set to the key 'db_port' of config map 'owdev-db.config'> Optional: false
  407. CONFIG_whisk_couchdb_protocol: <set to the key 'db_protocol' of config map 'owdev-db.config'> Optional: false
  408. CONFIG_whisk_couchdb_host: owdev-couchdb.openwhisk.svc.cluster.local
  409. CONFIG_whisk_couchdb_provider: <set to the key 'db_provider' of config map 'owdev-db.config'> Optional: false
  410. CONFIG_whisk_couchdb_databases_WhiskActivation: <set to the key 'db_whisk_activations' of config map 'owdev-db.config'> Optional: false
  411. CONFIG_whisk_couchdb_databases_WhiskEntity: <set to the key 'db_whisk_actions' of config map 'owdev-db.config'> Optional: false
  412. CONFIG_whisk_couchdb_databases_WhiskAuth: <set to the key 'db_whisk_auths' of config map 'owdev-db.config'> Optional: false
  413. CONTROLLER_INSTANCES: 1
  414. CONFIG_logback_log_level: INFO
  415. Mounts:
  416. /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-mbhjz (ro)
  417. Conditions:
  418. Type Status
  419. Initialized False
  420. Ready False
  421. ContainersReady False
  422. PodScheduled True
  423. Volumes:
  424. kube-api-access-mbhjz:
  425. Type: Projected (a volume that contains injected data from multiple sources)
  426. TokenExpirationSeconds: 3607
  427. ConfigMapName: kube-root-ca.crt
  428. ConfigMapOptional: <nil>
  429. DownwardAPI: true
  430. QoS Class: BestEffort
  431. Node-Selectors: <none>
  432. Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
  433. node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
  434. openwhisk-role=core:NoSchedule
  435. Events:
  436. Type Reason Age From Message
  437. ---- ------ ---- ---- -------
  438. Normal Scheduled 23m default-scheduler Successfully assigned openwhisk/owdev-controller-0 to cloud2.t6.ch-geni-net.geni.case.edu
  439. Normal Pulled 22m kubelet Container image "openwhisk/ow-utils:3e6138d" already present on machine
  440. Normal Created 22m kubelet Created container wait-for-kafka
  441. Normal Started 22m kubelet Started container wait-for-kafka
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement