Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.02 KB | None | 0 0
  1. ➜ ~ k -n istio-system logs istio-telemetry-9c669fbcc-frx76 mixer
  2. gc 1 @0.010s 4%: 0.064+1.5+0.22 ms clock, 0.38+0.18/1.2/0.39+1.3 ms cpu, 4->4->2 MB, 5 MB goal, 6 P
  3. gc 2 @0.016s 4%: 0.003+2.9+0.10 ms clock, 0.023+0.040/1.6/1.0+0.64 ms cpu, 4->5->3 MB, 5 MB goal, 6 P
  4. Mixer started with
  5. MaxMessageSize: 1048576
  6. MaxConcurrentStreams: 1024
  7. APIWorkerPoolSize: 1024
  8. AdapterWorkerPoolSize: 1024
  9. APIPort: 9091
  10. APIAddress: unix:///sock/mixer.socket
  11. MonitoringPort: 15014
  12. EnableProfiling: true
  13. SingleThreaded: false
  14. NumCheckCacheEntries: 1500000
  15. ConfigStoreURL: mcp://istio-galley.istio-system.svc:9901
  16. CertificateFile: /etc/certs/cert-chain.pem
  17. KeyFile: /etc/certs/key.pem
  18. CACertificateFile: /etc/certs/root-cert.pem
  19. ConfigDefaultNamespace: istio-system
  20. ConfigWaitTimeout: 2m0s
  21. LoggingOptions: log.Options{OutputPaths:[]string{"stdout"}, ErrorOutputPaths:[]string{"stderr"}, RotateOutputPath:"", RotationMaxSize:104857600, RotationMaxAge:30, RotationMaxBackups:1000, JSONEncoding:false, LogGrpc:true, outputLevels:"default:info", logCallers:"", stackTraceLevels:"default:none"}
  22. TracingOptions: tracing.Options{ZipkinURL:"http://zipkin.istio-system:9411/api/v1/spans", JaegerURL:"", LogTraceSpans:false, SamplingRate:0}
  23. IntrospectionOptions: ctrlz.Options{Port:0x2694, Address:"localhost"}
  24. UseTemplateCRDs: false
  25. LoadSheddingOptions: loadshedding.Options{Mode:2, AverageLatencyThreshold:100000000, SamplesPerSecond:1.7976931348623157e+308, SampleHalfLife:1000000000, MaxRequestsPerSecond:0, BurstSize:0}
  26. UseAdapterCRDs: false
  27.  
  28. 2019-06-26T14:51:26.352859Z info mcp Requesting following collections:
  29. 2019-06-26T14:51:26.352888Z info mcp [0] istio/config/v1alpha2/adapters
  30. 2019-06-26T14:51:26.352891Z info mcp [1] istio/policy/v1beta1/attributemanifests
  31. 2019-06-26T14:51:26.352893Z info mcp [2] istio/policy/v1beta1/handlers
  32. 2019-06-26T14:51:26.352895Z info mcp [3] istio/policy/v1beta1/instances
  33. 2019-06-26T14:51:26.352897Z info mcp [4] istio/policy/v1beta1/rules
  34. 2019-06-26T14:51:26.352899Z info mcp [5] istio/config/v1alpha2/templates
  35. 2019-06-26T14:51:26.352912Z info parsed scheme: ""
  36. 2019-06-26T14:51:26.352924Z info scheme "" not registered, fallback to default scheme
  37. 2019-06-26T14:51:26.352934Z info ccResolverWrapper: sending update to cc: {[{istio-galley.istio-system.svc:9901 0 <nil>}] }
  38. 2019-06-26T14:51:26.352938Z info ClientConn switching balancer to "pick_first"
  39. 2019-06-26T14:51:26.353013Z info Awaiting for config store sync...
  40. 2019-06-26T14:51:26.353095Z info mcp (re)trying to establish new MCP sink stream
  41. 2019-06-26T14:51:26.353618Z info pickfirstBalancer: HandleSubConnStateChange: 0xc4206aac20, CONNECTING
  42. gc 3 @0.027s 5%: 0.018+1.9+0.077 ms clock, 0.11+0.68/2.7/5.7+0.46 ms cpu, 6->6->4 MB, 7 MB goal, 6 P
  43. 2019-06-26T14:51:26.356089Z info pickfirstBalancer: HandleSubConnStateChange: 0xc4206aac20, READY
  44. 2019-06-26T14:51:26.356148Z info mcp New MCP sink stream created
  45. 2019-06-26T14:51:26.363141Z info Starting runtime config watch...
  46. 2019-06-26T14:51:26.363208Z info Built new config.Snapshot: id='0'
  47. 2019-06-26T14:51:26.363225Z info Cleaning up handler table, with config ID:-1
  48. gc 4 @0.044s 4%: 0.004+2.2+0.070 ms clock, 0.028+0.44/2.3/7.2+0.42 ms cpu, 7->8->5 MB, 8 MB goal, 6 P
  49. 2019-06-26T14:51:26.374173Z info Built new config.Snapshot: id='1'
  50. 2019-06-26T14:51:26.374524Z info adapters getting kubeconfig from: "" {"adapter": "kubernetesenv.istio-system"}
  51. 2019-06-26T14:51:26.374539Z warn Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
  52. 2019-06-26T14:51:26.374552Z info adapters serving prometheus metrics on 42422 {"adapter": "prometheus.istio-system"}
  53. 2019-06-26T14:51:26.375148Z info adapters Waiting for kubernetes cache sync... {"adapter": "kubernetesenv.istio-system"}
  54. gc 5 @0.076s 3%: 0.004+2.2+0.038 ms clock, 0.029+0.46/2.1/8.3+0.22 ms cpu, 9->9->6 MB, 10 MB goal, 6 P
  55. gc 6 @0.099s 3%: 0.004+2.6+0.050 ms clock, 0.029+0.56/2.7/9.9+0.30 ms cpu, 11->12->7 MB, 12 MB goal, 6 P
  56. 2019-06-26T14:51:26.475261Z info adapters Cache sync successful. {"adapter": "kubernetesenv.istio-system"}
  57. 2019-06-26T14:51:26.475286Z info adapters getting kubeconfig from: "" {"adapter": "kubernetesenv.istio-system"}
  58. 2019-06-26T14:51:26.475290Z warn Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
  59. 2019-06-26T14:51:26.475952Z info Setting up event handlers
  60. 2019-06-26T14:51:26.476028Z info Starting Secrets controller
  61. 2019-06-26T14:51:26.476062Z info Waiting for informer caches to sync
  62. 2019-06-26T14:51:26.477480Z info Cleaning up handler table, with config ID:0
  63. 2019-06-26T14:51:26.477686Z info Starting monitor server...
  64. Istio Mixer: root@e1b1b59e-920e-11e9-9590-0a580a2c0406-docker.io/istio-1.2.0-f8295503296ec6bae1b1047cc1491469d5e72754-dirty-Modified
  65. Starting gRPC server on port 9091
  66. 2019-06-26T14:51:26.481073Z info ControlZ available at 127.0.0.1:9876
  67. gc 7 @1.108s 0%: 0.007+3.4+0.054 ms clock, 0.044+0.72/3.3/12+0.32 ms cpu, 14->15->9 MB, 15 MB goal, 6 P
  68. gc 8 @104.803s 0%: 0.010+2.8+0.064 ms clock, 0.062+2.6/2.7/10+0.38 ms cpu, 17->18->9 MB, 18 MB goal, 6 P
  69. scvg0: inuse: 18, idle: 3, sys: 21, released: 0, consumed: 21 (MB)```
  70.  
  71.  
  72.  
  73. ➜ ~ k -n istio-system logs istio-telemetry-9c669fbcc-frx76 istio-proxy
  74. 2019-06-26T14:51:26.546326Z info FLAG: --applicationPorts="[]"
  75. 2019-06-26T14:51:26.546354Z info FLAG: --binaryPath="/usr/local/bin/envoy"
  76. 2019-06-26T14:51:26.546361Z info FLAG: --concurrency="0"
  77. 2019-06-26T14:51:26.546365Z info FLAG: --configPath="/etc/istio/proxy"
  78. 2019-06-26T14:51:26.546370Z info FLAG: --connectTimeout="1s"
  79. 2019-06-26T14:51:26.546374Z info FLAG: --controlPlaneAuthPolicy="NONE"
  80. 2019-06-26T14:51:26.546377Z info FLAG: --controlPlaneBootstrap="true"
  81. 2019-06-26T14:51:26.546380Z info FLAG: --customConfigFile=""
  82. 2019-06-26T14:51:26.546383Z info FLAG: --datadogAgentAddress=""
  83. 2019-06-26T14:51:26.546386Z info FLAG: --disableInternalTelemetry="false"
  84. 2019-06-26T14:51:26.546390Z info FLAG: --discoveryAddress="istio-pilot:15010"
  85. 2019-06-26T14:51:26.546392Z info FLAG: --dnsRefreshRate="300s"
  86. 2019-06-26T14:51:26.546396Z info FLAG: --domain="istio-system.svc.cluster.local"
  87. 2019-06-26T14:51:26.546399Z info FLAG: --drainDuration="45s"
  88. 2019-06-26T14:51:26.546406Z info FLAG: --envoyMetricsServiceAddress=""
  89. 2019-06-26T14:51:26.546409Z info FLAG: --help="false"
  90. 2019-06-26T14:51:26.546416Z info FLAG: --id=""
  91. 2019-06-26T14:51:26.546418Z info FLAG: --ip=""
  92. 2019-06-26T14:51:26.546425Z info FLAG: --lightstepAccessToken=""
  93. 2019-06-26T14:51:26.546429Z info FLAG: --lightstepAddress=""
  94. 2019-06-26T14:51:26.546432Z info FLAG: --lightstepCacertPath=""
  95. 2019-06-26T14:51:26.546435Z info FLAG: --lightstepSecure="false"
  96. 2019-06-26T14:51:26.546442Z info FLAG: --log_as_json="false"
  97. 2019-06-26T14:51:26.546445Z info FLAG: --log_caller=""
  98. 2019-06-26T14:51:26.546448Z info FLAG: --log_output_level="default:info"
  99. 2019-06-26T14:51:26.546450Z info FLAG: --log_rotate=""
  100. 2019-06-26T14:51:26.546453Z info FLAG: --log_rotate_max_age="30"
  101. 2019-06-26T14:51:26.546455Z info FLAG: --log_rotate_max_backups="1000"
  102. 2019-06-26T14:51:26.546462Z info FLAG: --log_rotate_max_size="104857600"
  103. 2019-06-26T14:51:26.546466Z info FLAG: --log_stacktrace_level="default:none"
  104. 2019-06-26T14:51:26.546471Z info FLAG: --log_target="[stdout]"
  105. 2019-06-26T14:51:26.546478Z info FLAG: --mixerIdentity=""
  106. 2019-06-26T14:51:26.546481Z info FLAG: --parentShutdownDuration="1m0s"
  107. 2019-06-26T14:51:26.546483Z info FLAG: --pilotIdentity=""
  108. 2019-06-26T14:51:26.546493Z info FLAG: --proxyAdminPort="15000"
  109. 2019-06-26T14:51:26.546497Z info FLAG: --proxyComponentLogLevel="misc:error"
  110. 2019-06-26T14:51:26.546501Z info FLAG: --proxyLogLevel="warning"
  111. 2019-06-26T14:51:26.546504Z info FLAG: --serviceCluster="istio-telemetry"
  112. 2019-06-26T14:51:26.546513Z info FLAG: --serviceregistry="Kubernetes"
  113. 2019-06-26T14:51:26.546516Z info FLAG: --statsdUdpAddress=""
  114. 2019-06-26T14:51:26.546519Z info FLAG: --statusPort="0"
  115. 2019-06-26T14:51:26.546523Z info FLAG: --templateFile="/etc/istio/proxy/envoy_telemetry.yaml.tmpl"
  116. 2019-06-26T14:51:26.546531Z info FLAG: --trust-domain=""
  117. 2019-06-26T14:51:26.546534Z info FLAG: --zipkinAddress=""
  118. 2019-06-26T14:51:26.546555Z info Version root@e1b1b59e-920e-11e9-9590-0a580a2c0406-docker.io/istio-1.2.0-f8295503296ec6bae1b1047cc1491469d5e72754-Clean
  119. 2019-06-26T14:51:26.546699Z info Obtained private IP [100.127.36.222 fe80::34d1:b2ff:fe2c:6e4d]
  120. 2019-06-26T14:51:26.546752Z info Proxy role: &model.Proxy{ClusterID:"", Type:"sidecar", IPAddresses:[]string{"100.127.36.222", "100.127.36.222", "fe80::34d1:b2ff:fe2c:6e4d"}, ID:"istio-telemetry-9c669fbcc-frx76.istio-system", Locality:(*core.Locality)(nil), DNSDomain:"istio-system.svc.cluster.local", TrustDomain:"cluster.local", PilotIdentity:"", MixerIdentity:"", ConfigNamespace:"", Metadata:map[string]string{}, SidecarScope:(*model.SidecarScope)(nil), ServiceInstances:[]*model.ServiceInstance(nil), WorkloadLabels:model.LabelsCollection(nil)}
  121. 2019-06-26T14:51:26.546765Z info PilotSAN []string(nil)
  122. 2019-06-26T14:51:26.547115Z info Effective config: binaryPath: /usr/local/bin/envoy
  123. configPath: /etc/istio/proxy
  124. connectTimeout: 1s
  125. discoveryAddress: istio-pilot:15010
  126. drainDuration: 45s
  127. parentShutdownDuration: 60s
  128. proxyAdminPort: 15000
  129. serviceCluster: istio-telemetry
  130. statNameLength: 189
  131.  
  132. 2019-06-26T14:51:26.547126Z info Monitored certs: []string{"/etc/certs/root-cert.pem", "/etc/certs/cert-chain.pem", "/etc/certs/key.pem"}
  133. 2019-06-26T14:51:26.547132Z info MixerSAN []string(nil)
  134. 2019-06-26T14:51:26.547446Z info Static config:
  135. admin:
  136. access_log_path: /dev/null
  137. address:
  138. socket_address:
  139. address: 127.0.0.1
  140. port_value: 15000
  141. stats_config:
  142. use_all_default_tags: false
  143. stats_tags:
  144. - tag_name: cluster_name
  145. regex: '^cluster\.((.+?(\..+?\.svc\.cluster\.local)?)\.)'
  146. - tag_name: tcp_prefix
  147. regex: '^tcp\.((.*?)\.)\w+?$'
  148. - tag_name: response_code
  149. regex: '_rq(_(\d{3}))$'
  150. - tag_name: response_code_class
  151. regex: '_rq(_(\dxx))$'
  152. - tag_name: http_conn_manager_listener_prefix
  153. regex: '^listener(?=\.).*?\.http\.(((?:[_.[:digit:]]*|[_\[\]aAbBcCdDeEfF[:digit:]]*))\.)'
  154. - tag_name: http_conn_manager_prefix
  155. regex: '^http\.(((?:[_.[:digit:]]*|[_\[\]aAbBcCdDeEfF[:digit:]]*))\.)'
  156. - tag_name: listener_address
  157. regex: '^listener\.(((?:[_.[:digit:]]*|[_\[\]aAbBcCdDeEfF[:digit:]]*))\.)'
  158. static_resources:
  159. clusters:
  160. - name: prometheus_stats
  161. type: STATIC
  162. connect_timeout: 0.250s
  163. lb_policy: ROUND_ROBIN
  164. hosts:
  165. - socket_address:
  166. protocol: TCP
  167. address: 127.0.0.1
  168. port_value: 15000
  169. - circuit_breakers:
  170. thresholds:
  171. - max_connections: 100000
  172. max_pending_requests: 100000
  173. max_requests: 100000
  174. max_retries: 3
  175. connect_timeout: 1.000s
  176. hosts:
  177. - pipe:
  178. path: /sock/mixer.socket
  179. http2_protocol_options: {}
  180. name: inbound_9092
  181. listeners:
  182. - address:
  183. socket_address:
  184. protocol: TCP
  185. address: 0.0.0.0
  186. port_value: 15090
  187. filter_chains:
  188. - filters:
  189. - name: envoy.http_connection_manager
  190. config:
  191. codec_type: AUTO
  192. stat_prefix: stats
  193. route_config:
  194. virtual_hosts:
  195. - name: backend
  196. domains:
  197. - '*'
  198. routes:
  199. - match:
  200. prefix: /stats/prometheus
  201. route:
  202. cluster: prometheus_stats
  203. http_filters:
  204. - name: envoy.router
  205. - address:
  206. socket_address:
  207. address: 0.0.0.0
  208. port_value: 15004
  209. filter_chains:
  210. - filters:
  211. - config:
  212. codec_type: HTTP2
  213. http2_protocol_options:
  214. max_concurrent_streams: 1073741824
  215. generate_request_id: true
  216. http_filters:
  217. - config:
  218. default_destination_service: istio-telemetry.istio-system.svc.cluster.local
  219. service_configs:
  220. istio-telemetry.istio-system.svc.cluster.local:
  221. disable_check_calls: true
  222. mixer_attributes:
  223. attributes:
  224. destination.service.host:
  225. string_value: istio-telemetry.istio-system.svc.cluster.local
  226. destination.service.uid:
  227. string_value: istio://istio-system/services/istio-telemetry
  228. destination.service.name:
  229. string_value: istio-telemetry
  230. destination.service.namespace:
  231. string_value: istio-system
  232. destination.uid:
  233. string_value: kubernetes://istio-telemetry-9c669fbcc-frx76.istio-system
  234. destination.namespace:
  235. string_value: istio-system
  236. destination.ip:
  237. bytes_value: AAAAAAAAAAAAAP//ZH8k3g==
  238. destination.port:
  239. int64_value: 15004
  240. context.reporter.kind:
  241. string_value: inbound
  242. context.reporter.uid:
  243. string_value: kubernetes://istio-telemetry-9c669fbcc-frx76.istio-system
  244. transport:
  245. check_cluster: mixer_check_server
  246. report_cluster: inbound_9092
  247. name: mixer
  248. - name: envoy.router
  249. route_config:
  250. name: "15004"
  251. virtual_hosts:
  252. - domains:
  253. - '*'
  254. name: istio-telemetry.istio-system.svc.cluster.local
  255. routes:
  256. - decorator:
  257. operation: Report
  258. match:
  259. prefix: /
  260. route:
  261. cluster: inbound_9092
  262. timeout: 0.000s
  263. stat_prefix: "15004"
  264. name: envoy.http_connection_manager
  265. name: "15004"
  266. - address:
  267. socket_address:
  268. address: 0.0.0.0
  269. port_value: 9091
  270. filter_chains:
  271. - filters:
  272. - config:
  273. codec_type: HTTP2
  274. http2_protocol_options:
  275. max_concurrent_streams: 1073741824
  276. generate_request_id: true
  277. http_filters:
  278. - config:
  279. default_destination_service: istio-telemetry.istio-system.svc.cluster.local
  280. service_configs:
  281. istio-telemetry.istio-system.svc.cluster.local:
  282. disable_check_calls: true
  283. mixer_attributes:
  284. attributes:
  285. destination.service.host:
  286. string_value: istio-telemetry.istio-system.svc.cluster.local
  287. destination.service.uid:
  288. string_value: istio://istio-system/services/istio-telemetry
  289. destination.service.name:
  290. string_value: istio-telemetry
  291. destination.service.namespace:
  292. string_value: istio-system
  293. destination.uid:
  294. string_value: kubernetes://istio-telemetry-9c669fbcc-frx76.istio-system
  295. destination.namespace:
  296. string_value: istio-system
  297. destination.ip:
  298. bytes_value: AAAAAAAAAAAAAP//ZH8k3g==
  299. destination.port:
  300. int64_value: 9091
  301. context.reporter.kind:
  302. string_value: inbound
  303. context.reporter.uid:
  304. string_value: kubernetes://istio-telemetry-9c669fbcc-frx76.istio-system
  305. transport:
  306. check_cluster: mixer_check_server
  307. report_cluster: inbound_9092
  308. name: mixer
  309. - name: envoy.router
  310. route_config:
  311. name: "9091"
  312. virtual_hosts:
  313. - domains:
  314. - '*'
  315. name: istio-telemetry.istio-system.svc.cluster.local
  316. routes:
  317. - decorator:
  318. operation: Report
  319. match:
  320. prefix: /
  321. route:
  322. cluster: inbound_9092
  323. timeout: 0.000s
  324. stat_prefix: "9091"
  325. name: envoy.http_connection_manager
  326. name: "9091"
  327.  
  328. 2019-06-26T14:51:26.547573Z info PilotSAN []string(nil)
  329. 2019-06-26T14:51:26.547634Z info Starting proxy agent
  330. 2019-06-26T14:51:26.547757Z info Received new config, resetting budget
  331. 2019-06-26T14:51:26.547768Z info Reconciling retry (budget 10)
  332. 2019-06-26T14:51:26.547773Z info watching /etc/certs for changes
  333. 2019-06-26T14:51:26.547787Z info Epoch 0 starting
  334. 2019-06-26T14:51:26.547829Z info Envoy command: [-c /etc/istio/proxy/envoy.yaml --restart-epoch 0 --drain-time-s 45 --parent-shutdown-time-s 60 --service-cluster istio-telemetry --service-node sidecar~100.127.36.222~istio-telemetry-9c669fbcc-frx76.istio-system~istio-system.svc.cluster.local --max-obj-name-len 189 --local-address-ip-version v4 --allow-unknown-fields -l warning --component-log-level misc:error]
  335. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement