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
In general, but not complete: https://access.redhat.com/articles/2650151 | |
cd /etc/etcd | |
export NEW_ETCD="ip-172-31-31-215.us-west-2.compute.internal" | |
export CN=$NEW_ETCD | |
export SAN="IP:172.31.31.215" | |
export PREFIX="./generated_certs/etcd-$CN/" | |
mkdir $PREFIX | |
#generate cert/key/ca tarball |
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
AWS: | |
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 79 | |
model name : Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz | |
stepping : 1 | |
microcode : 0xb000014 | |
cpu MHz : 2300.025 |
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
services: | |
AWS: | |
awscred: config/credentials/perf-eng/.awscred | |
host_opts: | |
ssh_private_key: config/keys/id_rsa_perf | |
config_opts: | |
region: us-west-2 | |
create_opts: | |
subnet_id: subnet-4879292d | |
instance_type: m4.xlarge |
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
clean up metrics for redeploy | |
oc delete --all rc | |
oc delete --all po | |
oc delete --all svc | |
oc delete --all route | |
oc delete --all pvc | |
oc delete sa heapster hawkular cassandra | |
oc delete secrets hawkular-cassandra-certs hawkular-metrics-account hawkular-metrics-certs heapster-certs heapster-secrets | |
# oc delete secret hawkular-cassandra-certificate hawkular-cassandra-secrets hawkular-metrics-certificate hawkular-metrics-secrets |
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
# set use_mux variables to true for logging-mux bug | |
# increase elastic cluster size bu adding openshift_logging_es_cluster_size | |
[oo_first_master] | |
ec2-54-202-158-94.us-west-2.compute.amazonaws.com | |
[oo_first_master:vars] | |
openshift_deployment_type=openshift-enterprise | |
openshift_release=v3.6.0 | |
openshift_logging_install_logging=true |
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
version: 0.1 | |
log: | |
level: warn | |
http: | |
addr: :5000 | |
auth: | |
openshift: | |
realm: openshift | |
storage: | |
filesystem: |
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
apiVersion: apps/v1beta1 | |
kind: StatefulSet | |
metadata: | |
creationTimestamp: null | |
generation: 1 | |
labels: | |
component: mux | |
logging-infra: mux | |
provider: openshift | |
name: logging-mux |
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
--- | |
- name: Setup 200 node cluster of small nodes for logging testing | |
hosts: all | |
gather_facts: False | |
tasks: | |
- name: Stop and disable rsyslog | |
systemd: | |
name: "{{ item }}" | |
state: stopped | |
enabled: no |
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
--- | |
- hosts: all | |
sudo: yes | |
user: root | |
tasks: | |
- name: copy | |
copy: src=/root/fluentd.tar dest=/root/fluentd.tar mode=644 | |
- name: load | |
command: docker load -i /root/fluentd.tar |
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
In /etc/sysconfig/docker | |
1. In OPTIONS, remove --log-driver=journald | |
2. In OPTIONS, add --log-opt max-size=100M --log-opt max-file=3 |
OlderNewer