This file contains 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
kapitan | SUCCESS => { | |
"hostvars[inventory_hostname]": { | |
"ansible_check_mode": false, | |
"ansible_diff_mode": false, | |
"ansible_facts": {}, | |
"ansible_forks": 5, | |
"ansible_host": "192.168.220.100", | |
"ansible_inventory_sources": [ | |
"/home/julien/RubymineProjects/k8s-platform-deployment/work/allinone-prod/inventory/allinone/hosts.yml" | |
], |
This file contains 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
julien:kubespray(62113m|tags/v2.11.0) $ ansible-playbook -i ../inventory/vagrant/hosts.yml contrib/network-storage/heketi/heketi.yml | |
PLAY [heketi-node] ************************************************************************************************************************************************************************************************ | |
TASK [prepare : Load lvm kernel modules] ************************************************************************************************************************************************************************** | |
Wednesday 02 October 2019 14:19:01 +0200 (0:00:00.065) 0:00:00.065 ***** | |
changed: [node2] => (item=dm_snapshot) | |
changed: [node1] => (item=dm_snapshot) | |
changed: [node3] => (item=dm_snapshot) | |
ok: [node2] => (item=dm_mirror) |
This file contains 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
FROM centos:7 | |
# Set UTF-8 locale by default | |
ENV LC_ALL en_US.UTF-8 | |
# Install the minimal ruby toolset (we `gem install bundler` because scl version is ancient at v1.7.8) | |
RUN INSTALL_PKGS="gcc gcc-c++ make openssl-devel rh-ruby23 rh-ruby23-ruby-devel" && \ | |
yum install -y centos-release-scl && \ | |
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && rpm -V $INSTALL_PKGS && \ | |
yum clean all -y |
This file contains 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
FROM ubuntu:xenial | |
RUN apt-get update && apt-get install -y ruby2.3 | |
ADD entrypoint.sh /entrypoint.sh | |
RUN chmod +x /entrypoint.sh | |
ENTRYPOINT ["/entrypoint.sh"] |
This file contains 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
FROM rabbitmq:3.6 | |
# rabbitmq-management | |
RUN rabbitmq-plugins enable --offline rabbitmq_management | |
EXPOSE 15671 15672 | |
# autocluster plugin - notice that we have to use our own build because official | |
# 0.6.1 release does not include the k8s plugin YET. | |
ADD docker/autocluster-0.6.1.ez /usr/lib/rabbitmq/lib/rabbitmq_server-${RABBITMQ_VERSION}/plugins/ | |
RUN chmod a+r /usr/lib/rabbitmq/lib/rabbitmq_server-${RABBITMQ_VERSION}/plugins/autocluster*.ez \ |
This file contains 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
kind: Template | |
apiVersion: v1 | |
metadata: | |
name: mongodb-petset-replication | |
annotations: | |
description: "MongoDB Replication (based on PetSet). You must have persistent volumes available in your cluster to use this template." | |
iconClass: "icon-mongodb" | |
tags: "database,mongodb,replication" | |
parameters: | |
- name: MONGODB_USER |
This file contains 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
jp440p:docker(53m|master!) $ kitchen converge service-upstart-ubuntu-1404 | |
-----> Starting Kitchen (v1.4.2) | |
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/webagent-cookie.rb:458: warning: already initialized constant HTTPClient::CookieManager | |
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:8: warning: previous definition of CookieManager was here | |
-----> Creating <service-upstart-ubuntu-1404>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'opscode-ubuntu-14.04'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: kitchen-docker-service-upstart-ubuntu-1404_default_1455282723066_17500 | |
==> default: Clearing any previously set network interfaces... |
This file contains 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
description "Docker daemon" | |
start on (local-filesystems and net-device-up IFACE!=lo) | |
stop on runlevel [!2345] | |
limit nofile 524288 1048576 | |
limit nproc 524288 1048576 | |
respawn | |
respawn limit 2 10 |