Skip to content

Instantly share code, notes, and snippets.

00:36 $ terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but
will not be persisted to local or remote state storage.
azurerm_resource_group.test: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg)
azurerm_virtual_network.test: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Network/virtualNetworks/acctvn)
azurerm_storage_account.test.0: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Storage/storageAccounts/accsai0)
azurerm_subnet.test: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Network/virtualNetworks/acctvn/subnets/acctsub)
azurerm_network_interface.test.0: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg
09:18 $ terraform apply
azurerm_resource_group.test: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg)
data.azurerm_client_config.current: Refreshing state...
azurerm_virtual_network.test: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Network/virtualNetworks/acctvn)
azurerm_storage_account.test.0: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Storage/storageAccounts/accsai0)
azurerm_subnet.test: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Network/virtualNetworks/acctvn/subnets/acctsub)
azurerm_storage_container.test.0: Refreshing state... (ID: vhds)
azurerm_network_interface.test.0: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Network/networkInterfaces/acc
Mar 21 12:00:20 K8SII-KSINST-83-p25075-UP--registry-proxy systemd: Started /usr/bin/yum -y install docker-latest-1.12.6-11.el7.centos.
Mar 21 12:00:20 K8SII-KSINST-83-p25075-UP--registry-proxy systemd: Starting /usr/bin/yum -y install docker-latest-1.12.6-11.el7.centos.
Mar 21 12:00:25 K8SII-KSINST-83-p25075-UP--registry-proxy yum[9825]: Installed: docker-client-latest-1.12.6-11.el7.centos.x86_64
Mar 21 12:00:29 K8SII-KSINST-83-p25075-UP--registry-proxy yum[9825]: Updated: docker-latest-1.12.6-11.el7.centos.x86_64
Mar 21 12:00:29 K8SII-KSINST-83-p25075-UP--registry-proxy systemd: Reloading.
Mar 21 12:00:29 K8SII-KSINST-83-p25075-UP--registry-proxy systemd: [/etc/systemd/system/multi-user.target.wants/digitalocean-rc-local.service:18] Support for option SysVStartPriority= has been removed and it is ignored
Mar 21 12:00:29 K8SII-KSINST-83-p25075-UP--registry-proxy systemd: Configuration file /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has no effect as configuration data is accessib
2017-03-21 16:02:07,977 INFO Reader.run: Name: lv_docker - Function: lvm.lv_present - Result: Clean Started: - 12:00:12.720280 Duration: 227.197 ms
2017-03-21 16:02:07,977 INFO Reader.run: Name: mkfs.btrfs /dev/vg01/lv_docker - Function: cmd.run - Result: Clean Started: - 12:00:12.948846 Duration: 12.035 ms
2017-03-21 16:02:07,978 INFO Reader.run: Name: /var/lib/docker - Function: file.directory - Result: Clean Started: - 12:00:12.961144 Duration: 1.161 ms
2017-03-21 16:02:07,978 INFO Reader.run: Name: /var/lib/docker - Function: mount.mounted - Result: Clean Started: - 12:00:12.963374 Duration: 25.333 ms
2017-03-21 16:02:07,978 INFO Reader.run: Name: net.ipv4.ip_forward - Function: sysctl.present - Result: Clean Started: - 12:00:12.988949 Duration: 26.663 ms
2017-03-21 16:02:07,978 INFO Reader.run: Name: docker - Function: service.dead - Result: Clean Started: - 12:00:13.016035 Duration: 13.698 ms
2017-03-21 16:02:07,978 INFO Reader.run: Name: old_docker_pkg - Function: pkg.purged - Result: Cle
~/Downloads/kube-controller-manager (1).txt:12814: Mar 28 01:41:35 kubemaster0 kube-controller-manager[62486]: I0328 01:41:35.633992 62486 endpoints_controller.go:368] About to update endpoints for service "test5/frontend"
~/Downloads/kube-controller-manager (1).txt:12820: Mar 28 01:41:35 kubemaster0 kube-controller-manager[62486]: I0328 01:41:35.670599 62486 controller_utils.go:158] Controller test5/frontend-88237173 either never recorded expectations, or the ttl expired.
~/Downloads/kube-controller-manager (1).txt:12824: Mar 28 01:41:35 kubemaster0 kube-controller-manager[62486]: I0328 01:41:35.670675 62486 controller_utils.go:175] Setting expectations &controller.ControlleeExpectations{add:3, del:0, key:"test5/frontend-88237173", timestamp:time.Time{sec:63626262095, nsec:670673816, loc:(*time.Location)(0x39524a0)}}
~/Downloads/kube-controller-manager (1).txt:12845: Mar 28 01:41:35 kubemaster0 kube-controller-manager[62486]: I0328 01:41:35.687633 62486 controller_utils.go:192] Lowered expectations &
apiVersion: v1
kind: Service
metadata:
name: frontend
labels:
app: guestbook
tier: frontend
spec:
# if your cluster supports it, uncomment the following to automatically create
# an external load-balanced IP for the frontend service.
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
azurerm_resource_group.test: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/slytest)
azurerm_virtual_network.test: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-...rosoft.Network/virtualNetworks/slyvnet)
azurerm_storage_account.test: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-...crosoft.Storage/storageAccounts/slysa0)
azurerm_subnet.test: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-...ualNetworks/slyvnet/subnets/slyvnetsub)
azurerm_network_interface.test: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-...osoft.Network/networkInterfaces/slyni0)
azurerm_storage_container.test: Refreshing state... (ID: vhds)
@djsly
djsly / gist:6cf0e61ae440772f4c103f0898c8e62a
Created June 14, 2017 21:15
telegraf config -- issues with took longer
# Telegraf Configuration
# Telegraf is entirely plugin driven. All metrics are gathered from the
# declared inputs, and sent to the declared outputs.
# Plugins must be declared in here to be active.
# To deactivate a plugin, comment out the name and any variables.
# Use 'telegraf -config telegraf.conf -test' to see what metrics a config
# file would generate.
@djsly
djsly / heapster-controller.yaml
Created July 25, 2017 15:50
yams file for heapster controller which loosing taints
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: heapster
namespace: kube-system
labels:
k8s-app: heapster
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
spec:
[root@<host> ~]# salt-call -l all state.sls journald,etcd
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Including configuration from '/etc/salt/minion.d/f_defaults.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/f_defaults.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: <host>
[TRACE ] None of the required configuration sections, 'logstash_udp_handler' and 'logstash_zmq_handler', were found in the configuration. Not loading the Logstash logging handlers module.
[TRACE ] The required configuration section, 'fluent_handler', was not found the in the configuration. Not loading the fluent logging handlers module.
[DEBUG ] Configuration file path: /etc/salt/minion