Skip to content

Instantly share code, notes, and snippets.

View alena1108's full-sized avatar

Alena Prokharchyk alena1108

View GitHub Profile
"notes": "---\n# Source: wordpress/charts/mariadb/templates/secrets.yaml\napiVersion: v1\nkind: Secret\nmetadata:\n name: wordpress-x6m5uj-mariadb\n labels:\n app: wordpress-x6m5uj-mariadb\n chart: \"mariadb-2.1.1\"\n release: \"wordpress-x6m5uj\"\n heritage: \"Tiller\"\ntype: Opaque\ndata:\n mariadb-root-password: \"WThxVHo2bXZGeA==\"\n mariadb-password: \"a0dwUEd0a1pQUg==\"\n---\n# Source: wordpress/templates/secrets.yaml\napiVersion: v1\nkind: Secret\nmetadata:\n name: wordpress-x6m5uj-wordpress\n labels:\n app: wordpress-x6m5uj-wordpress\n chart: \"wordpress-1.0.2\"\n release: \"wordpress-x6m5uj\"\n heritage: \"Tiller\"\ntype: Opaque\ndata:\n \n wordpress-password: \"WTQ1Q0FxQW9yaQ==\"\n \n smtp-password: \"\"\n\n---\n# Source: wordpress/charts/mariadb/templates/configmap.yaml\napiVersion: v1\nkind: ConfigMap\nmetadata:\n name: wordpress-x6m5uj-mariadb\n labels:\n app: wordpress-x6m5uj-mariadb\n chart: \"mariadb-2.1.1\"\n release: \"wordpress-x6m5uj\"\n heri
This file has been truncated, but you can view the full file.
Adding ca.crt to Certs.
Updating certificates in /etc/ssl/certs...
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
time="2018-01-16T04:45:42Z" level=info msg="Starting rancher-metadata v0.9.3"
time="2018-01-16T04:45:42Z" level=info msg="Subscribing to events"
time="2018-01-16T04:45:42Z" level=info msg="Initializing event router" workerCount=3
time="2018-01-16T04:45:42Z" level=info msg="Listening for Reload on 127.0.0.1:8112"
time="2018-01-16T04:45:42Z" level=info msg="Listening on :80"
commit 85b663a0d93d2691e8980d271667053f5eacfcac (HEAD, tag: v1.8.6-rancher4, upstream/v1.8.6-rancher)
Author: Darren Shepherd <[email protected]>
Date: Mon Feb 26 22:15:39 2018 -0700
Add global default proxy dialer
commit 46944cfeb117c1a0a370751ab77b7fcce852eaa0 (tag: v1.8.6-rancher3)
Author: Darren Shepherd <[email protected]>
Date: Mon Feb 26 16:51:59 2018 -0700
apiVersion: v1
kind: Config
clusters:
- name: "local"
cluster:
server: "https://localhost:8443/k8s/clusters/local"
api-version: v1
certificate-authority-data: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM3a\
kNDQWRhZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFvTVJJd0VBWURWUVFLRXdsM\
GFHVXQKY21GdVkyZ3hFakFRQmdOVkJBTVRDV05oZEhSc1pTMWpZVEFlRncweE9EQXpNakF3T\
{
"apiVersion": "extensions/v1beta1",
"kind": "Deployment",
"metadata": {
"annotations": {
"deployment.kubernetes.io/revision": "1"
},
"creationTimestamp": "2018-03-14T22:59:11Z",
"generation": 1,
"labels": {
21:31:49.587 [main] INFO c.h.i.cluster.impl.DiscoveryJoiner - [127.0.0.1]:9345 [989c4edd-5abf-4d5b-9428-d658531a7a9b] [3.8]
Members [1] {
Member [127.0.0.1]:9345 - 8dba9202-5786-4abf-8527-3dd1836e8358 this
}
21:31:49.604 [main] INFO c.h.internal.jmx.ManagementService - [127.0.0.1]:9345 [989c4edd-5abf-4d5b-9428-d658531a7a9b] [3.8] Hazelcast JMX agent enabled.
21:31:49.626 [main] INFO com.hazelcast.core.LifecycleService - [127.0.0.1]:9345 [989c4edd-5abf-4d5b-9428-d658531a7a9b] [3.8] [127.0.0.1]:9345 is STARTED
21:31:49.731 [main] INFO o.s.s.c.ScheduledExecutorFactoryBean - Initializing ExecutorService 'CoreScheduledExecutorService'
```
goroutine 9328 [running]:
runtime.throw(0x41a1d69, 0x15)
/usr/local/go/src/runtime/panic.go:605 +0x95 fp=0xc42c859960 sp=0xc42c859940 pc=0x42ba95
runtime.mapassign_faststr(0x390ed80, 0xc42bb9cb10, 0xc42489df20, 0x27, 0x1)
/usr/local/go/src/runtime/hashmap_fast.go:685 +0x4da fp=0xc42c8599e0 sp=0xc42c859960 pc=0x40ce7a
github.com/rancher/rancher/pkg/controllers/user/alert/watcher.(*ProjectAlertLifecycle).Create(0xc424e2f178, 0xc4307e0780, 0x7f014c67db80, 0xc4307e05a0, 0x0)
/go/src/github.com/rancher/rancher/pkg/controllers/user/alert/watcher/pod.go:67 +0xee fp=0xc42c859a58 sp=0xc42c8599e0 pc=0x11b738e
github.com/rancher/rancher/vendor/github.com/rancher/types/apis/management.cattle.io/v3.(*projectAlertLifecycleAdapter).Create(0xc426118bc0, 0x9405fa0, 0xc4307e0780, 0x9405fa0, 0xc4307e0780, 0x0, 0x0)
/go/src/github.com/rancher/rancher/vendor/github.com/rancher/types/apis/management.cattle.io/v3/zz_generated_project_alert_lifecycle_adapter.go:19 +0x52 fp=0xc42c859a90 sp=0xc42c859a58 pc=0xeeec12
```
This document goes over Cattle executor services, their use and its thread pools configurations.
1) Core executor service
Default executor service. Examples of use:
* API requests dispatching
* Agent events execution (example: sending agent.ping, replying to agent.ping)
* Reporting resource state.change events to subscribers (UI is an example of such subscriber)
Thread pool settings (configurable):
=====================================
pool.coreexecutorservice.core.size=15
{
"apiVersion": "v1",
"items": [
{
"apiVersion": "extensions/v1beta1",
"kind": "Deployment",
"metadata": {
"annotations": {
"deployment.kubernetes.io/revision": "1"
},
@alena1108
alena1108 / endpoints
Created January 25, 2018 23:30
endpoints
{
"apiVersion": "v1",
"items": [{
"apiVersion": "v1",
"kind": "Endpoints",
"metadata": {
"creationTimestamp": "2018-01-25T21:35:52Z",
"labels": {
"k8s-app": "nginx"
},