This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: nginx-latest | |
spec: | |
volumes: | |
- name: html-data | |
emptyDir: {} | |
containers: | |
- name: nginx-latest-container |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Create packet node | |
# | |
export MAX_PRICE=0.40 | |
export FACILITY=ewr1 | |
export PLAN=c1.xlarge.x86 | |
packet baremetal create-device --facility $FACILITY --spot-instance \ | |
--spot-price-max $MAX_PRICE --plan $PLAN \ | |
--hostname k8s -s --tags controller --os-type ubuntu_16_04 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ./kube-scheduler --write-config-to kube-config.yaml | |
I0820 20:08:32.929606 59954 server.go:100] Wrote configuration to: kube-config.yaml | |
# vi kube-config.yaml | |
# ./kube-scheduler --version | |
Kubernetes v1.11.0 | |
# ./kube-scheduler --write-config-to kube-config.yaml | |
I0820 20:10:38.602406 60046 server.go:100] Wrote configuration to: kube-config.yaml | |
# cat kube-config.yaml | |
algorithmSource: | |
provider: DefaultProvider |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is an example octavia.conf from a devstack install | |
[DEFAULT] | |
transport_url = rabbit://stackrabbit:[email protected]:5672/ | |
api_handler = queue_producer | |
bind_host = 10.101.0.144 | |
[api_settings] | |
[database] | |
connection = mysql+pymysql://root:[email protected]:3306/octavia | |
[health_manager] | |
bind_port = 5555 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv)[curtis@ash oodle]$ ./bin/vxlan-network.sh t4 | |
INFO: network name is t4-net | |
INFO: subnet name is t4-subnet | |
Created a new network: | |
+---------------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------------+--------------------------------------+ | |
| admin_state_up | True | | |
| availability_zone_hints | | | |
| availability_zones | | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SNIP! | |
exec(code, globals, locals) | |
File "/tmp/easy_install-hnt0j3m_/urllib3-1.18/setup.py", line 67, in <module> | |
File "/usr/lib64/python3.4/distutils/core.py", line 114, in setup | |
(attrs['name'], msg)) | |
SystemExit: error in urllib3 setup command: Invalid environment marker: python_version <= "2.7" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SNIP! | |
Target: pre-install.d | |
Script Seconds | |
--------------------------------------- ---------- | |
00-disable-apt-recommends 0.004 | |
00-remove-apt-xapian-index 1.807 | |
00-remove-grub 0.018 | |
01-dib-python 0.003 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nova01 | |
keystone01 | |
mysql01 | |
neutron01 | |
nova-compute-ironic01 | |
nova-compute-kvm01 | |
glance01 | |
haproxy01 | |
horizon01 | |
rabbitmq01 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: | |
- mysql-client | |
vars: | |
- sysbench_source_location: "/usr/local/src/sysbench" | |
tasks: | |
- name: install percona apt key | |
apt_key: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.impl_rabbit File "/usr/local/lib/python2.7/dist-packages/amqp/channel.py", line 1258, in queue_declare | |
2015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.impl_rabbit (50, 11), # Channel.queue_declare_ok | |
2015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.impl_rabbit File "/usr/local/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 69, in wait | |
2015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.impl_rabbit return self.dispatch_method(method_sig, args, content) | |
2015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.impl_rabbit File "/usr/local/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 87, in dispatch_method | |
2015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.impl_rabbit return amqp_method(self, args) | |
2015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.impl_rabbit File "/usr/local/lib/python2.7/dist-packages/amqp/channel.py", line 241, in _close | |
2015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.im |