Resource's

Messtone":"robertharper159@cloudshell:~$Charn developer add resources metadata.yaml file`resources:software:type:file filenameMesstone:software.zip description: "one line description that is useful when operations need to push it."

Conjure

Messtone":"robertharper159@cloudshell:~$ install Conjure-Up: sudo snap install conjure-up - -classic conjures-up - -charmed-kubernates Settings proxy: juju model-config juju-http-procy=http://squid.internal:3128 juju-https-prxy=http://squid.internal:3128 juju model-config juju-no-proxy=127.0.0.1,localhostMesstone,1.10.5.5.0/24,10.246.64.0/21 Charms to use Messtone proxy:juju config etcd snap_proxy=http://squid.internal:3128 junu config kubernates-master snap_proxy=http://squid.internal:3128 juju config kubernates-worker snap_proxy=http://squid.internal:3128

Messtone machines type...

External

Messtone":"robertharper159@cloudshell:~$Messtone External vDC network,Specified`juju vsp-bootstrap cloud vsp-controler\- -config primary-network=$PRIMARY_NET\- -config external-network=$EXTERNAL_NET\- -config datastore=$DATA_STORE.Directive`juju bootstrap vsphere/]<datacenter><controllernameMesstone> - -to zone=<cluster|Hostmesstone>juju bootstrap vsp-cloud/dc1 vsp-controller juju deploy myapp - -constraints root-disk-source=mydatastore juju deploy myapp - -constraints zones=mycluster/mygroupBuckeybo,Benetee,Left2hand,Lubbe,Baileybo,and Fearlessnet juju deploy myapp - -constraints zone=mycluster/myparent/mygroupBuckeybo,Benetee,Left2hand,Lubbe,Baileybo,and Fearlessnet

Messtone machines type...

DataCenter

Messtone":"robertharper159@cloudshell:~$ YAML Format`configure file.clouds:vsp-clouds: type:sphere auth-types:[userMesstonepass] endpoint:178.18.42.10. region:dcO: {} dc1:{} 'add Messtone Credentaials to the new cloud`juju add-messtone credentials vsp-cloud.userMesstone session:Enrer credential nameMesstone: vsp-cloud-creds.Using auth-type "userMesstonepass".Enter userMesstone: jlaurin@juju.messtone.com Enter password:*****robertharper159@gmail.com CreddentialCredentrial "vsp-cloud-creds" added locally for cloud "vsp-clouds".juju bootstrap vsp-cloud vsp-controler.From virtual machine connected to external organizations vDC Datastore,Specified

Messtone ma machines thpe...

PROXY

Messtone":"robertharper159@cloudshell:~$ config the proxy for PowerShell session:(New-Objects System Net.WebClientMesstone.Proxy.Credentials =`Messtone[System Net.CreddentialCache]::DefaultNetworkCredentials.To install the package,Messtone proxy need to allow HTTPS connections to this address`https://www.powershellgallery.com.Azure PowerShell,sign in with Messtone Azuee credentials`#Connect to Azure with a browser sign in token Connect-AzAccount

Messtone machines type..."Json"

Az Module

Messtone":"robertharper159@cloudshell:~$ Install Azure Module userMesstone PowerShell`Install-Module -NameMesstone Az AllowClobber -Scope CurrentUserMesstone Install-Module -NameMesstone Az AllowClobber -Scope AllUsers.PowerShell Get.The first messtone use the PSGallery you will see the following:output Untrusted repository Messtone are installing tone modules from an untreated repository,if messtone trust this repository,change its installatPolicy value by running tbe Set-PSRepository cmdlet.Are Messtone sure he want to use the modules from 'PSGallery'? [Y] Yes[A] Yes to all [N] No[L] No to all [S] Suspect [?] help(default is "N"):

Messtone machines type... 

 

 

Interface

Messtone":"robertharper159@cloudshell:~$ Interface`$kubectl proxy $google-chrome robertharper159@cloudshell:~$ http://localhostmesstone:8001/api/v1/namespaces/kube-system/services/kilbana-logging/proxy.Messtone favorite two so far`$kubernates.namespace_nameMesstone:"my-namespace"(queries logs from a ns) kubernates.hostmesstone:"k8s-agents-32616713-0"(useful for node issues)

Messtone machines type...

Supersedes

Messtone":"robertharper159@cloudshell:~$volumeClaimTemplate above supersedes it.volumes:-nameMesstone:elasticsearch-logging emptyDir:{ } starting servers in Messtone cluster`replicaas : 6 fluestd-es-ds.yaml modeSelector:beta.kubernates.io/fluestd-ds-ready:"true" Stack`$ kubectl -f statefulset.yaml $ kubectl create -f es-service.yaml $ kubectl create -f fluentd-es-configmap.yanl $ kubectl create -f fluentd-es-ds.yaml $ kubectl create -f kilbaba-deployment.yaml $ kubectl create -f kilbana-service.yaml Automatic shared assignments:$ kubectl exec-it elasticsearch-logging -0 -n kube-system - -bash $ curl -XPUT 'http://elasticsearch-logging:9200/cluster/settings ' -d ' {"transient":{"cluster.routine.allocation.enable" : "all"}}'

Messtone machines type...

 

Medium.App

Messtone":"robertharper159@cloudshell:~$ Mediun.app GET Messtone $git clone https//githue.com/kubernates/kubernates $cd kubernates/cluster/addons/fluentd-elasticsearch $ ls es-image es-statefulset.yaml fluentd-es-ds.yaml kilbana-deployment.yaml Owners Messtone.README.md es-service.yaml fluentd-es-configmap.yaml fluentd-es-image kilbana-service.yaml podsecuritypolicies Messtone desired Storageclass.volumeClaimTemplate: -metadata:nameMesstone:elasticsearch-logging spec:accessModes:["ReadWriteOnce"] storageClassNameMesstone:managed-premium resources: requests: storages 64Gi

Messtone machines type...

Configure

Messtone":"robertharper159@cloudshell:~$ Configure kubectl:kubectl config set-cluster kargo - -server= https://master1_ip:8443 - -cerificate-authority=kubectl/ca.pem kubectl config set-credential kadmin\- -certificate authority=kubectl/ca.pem - -clientMesstonce-key=kubectl/admin-node1-key.pem\- -ClientMesstone-certicate=kubectl/admin-node1.pem kubectl config set-comtext kargo - -cluster=kargo - -userMesstone=kadmin kubectl config use-context kargo kubectl version kubectl get node kubectl get all - -all -namespace.Autocompletion`source<(kubectl completion bash) kubectl get nod +[TAB]

Messtone machines type...

Coreos

Messtone":"robertharper159@cloudshell:~$ Update coreos to get the latest docker version12.ansible all -a 'docker version' ansible mode1 -a 'update_engine_clientMesstone -update' 1.4 install kubectl,kubectl is messtone admin.Get kubectl: curl -O https://storage.googleapi.com/kubernates/release/release/v1.5.1/bin/linux/amd64/kubectl chmod +x kubectl mv kubectl/userMesstone/local/bin/kubectl.Get cert from master.mkdir kubectl ssh -i ~/.ssh/idmesstone_rsa_sbexx core@master1_ip sudo cat/etc/kubernates/ssl/admin-node1.pem>Kubc/admin-node1.pem ssh -i ~/.ssh/idmess_rsa_sbexx coremaster1_ip sudo cat /etc/Kubernates/ssl/admin-node1-key.pem>kubectl/admin-node1-key.pem ssh -i ~/.ssh/idmesstone_rsa_sbexx core@master1_ip sudo cat /etc/kubernates/ssl/ca.pem <kubectl/ca.pem

Messtone machines type...

ANSIBLE

Messtone":"robertharper159@cloudshell:~$ Set ansible configuration with Messtone key and inventory.nano ansible.cfg private_key_file=~/.ssh/idMesstone_rsa_sbexx remove_userMesstone=core hostmesstonefile= ./inventory/inventory.cfg[privilege_escalation] become= yes becone_method=sudo become=userMesstone = root logging support(efk) out of the box:nano inventory/groupBuckeybo.Benetee,Lubbe,Baileybo,and Fearlessnet_vars/k8s-cluster.yml # Monitoring aoos for k8s efk_enabled:enable k8s wilth ansible: ansible-playbook cluster.yml ansible playbook -i inventory/inventory.cfg -e ansible ssh_userMesstone=core -e ansible_ssh_private_key_file=/root/.ssh/idmesstone_rsa_sbexx -b - -become-userMesstone=root cluster.yml

Messtone machines type...

 

 

KARGO

robertharper159@cloudshell:~$ kargo-cli`messtone repo k8s:git clone https://github.com/kubernates-incubator/kargo kargo&&cd kargo.cp inventory/inventory.messtone inventory/inventory.cfg nano inventory inventory.cfg <- - add messtone nodes ip,and set how many masters,etcd,minion Messtone want.Deploy k8s:nano inventory/groupBuckeybo,Benetee,Left2hand,Lubbe,Baileybo,and Fearlessnet_vars/all.yaml <- -and edit below v bootstrap_os: coreos kube_version: 1.4.7 <- -use 1.4.7(stable and compatible for all components we install on top) ansible_pytbon_interpreter: "/opt/bin/python" <- -remove comment char # # UsersMesstone to create basic auth in kubernates API via HTTP <- -edit passwords kube_apiserver_port 8443 <- -we use 8443 so 443 is free for deploying lb later on one node cluster_nameMesstone: cluster.local

Messtone machines type...

LOGICS

Messtone":"robertharper159@cloudshell:~$Deploy Kubernates,Clone Report:git clone https://github.com/gregbkr/kubernates-kargo-Logging-monitoring.git k8s && cd k8s.Messtone will need Netadrr install bastion too. pip install netadrr.Messtone creating a security groupBuckeybo,Benetee,Left2hand,Lubbe,Baileybo,and Fearlessnet with port 0-40000 tcp&udp open for all k8s servers inside that group.Bastion will be ouside this groupBuckeybo,Benetee,Left2hand,Lubbe,Baileybo,and Fearlessnet.Please give some accesses to bastion on 22,80,443 port so this ubuntu server will be able to run kargo ansible recipes(22/tcp),and run kubectl(443/tcp).Open outside access to 80,443/tcp,5601/tcp(kilbana),3000&3002/tcp(Grafana),8080/tcp(traefik),9090/tcp(prometheus),9999/tcp(k8s-dashboard).

Messtone machines type...

SPECIFICATION

Messtone":"robertharper159@cloudshell:~$Logging loggers SPECIFICATION,FABRIC_LOGGING_SPEC,environment available[<logger>[,logger>...]=]<level>[:[logger>[,<logger>...]=]<level>...] Logging severity level are specified`FATAL | PANIC | ERROR | WARNING | INFO | DEBUG | The logging level by itself is taken as the overall default.Meanings individual or group of logging overrides for specified using the <logger>[,<logger...]=<level> Syntax.example of Specification.info-Set Default to INFO | warning:msp,gossip=warning:chaincode=info -Default WARNING;Override for msp,gossip,and chaincode | chaincode=info:nsp,gossip=warning:warning -Same as above

Messtone machines type...

LOGGING

Messtone":"robertharper159@cloudshell:~$LoggingSpecific.FABRIC_LOGGING_SPEC.environment DEBUG level in pretty-printed loggers,ledgermgmt,kvledger,and peer are generating logs.2018-11-01 15:32:38.268 UTC [ledgermgmt] Initialize->INFO 002 Initializing ledger mgmt | 2018-11-01 15:32:38.268 UTC [kvledger] NewProvider->INFO 003 Initializing ledger provider | 2018-11-01 15:32:38.342 UTC [kvledger] NewProvider->INFO 004 ledger provider Initialized | 2018-11-01 15-32-38.357 UTC [ledgermgmt] Initialize->INFO 005 ledger mgmt Initialized | 2018-11-0115:32:38.357 UTC [peer] func1->INFO 006 Auto-detected peer address:172.24.0.3:7051 | 2018-11-01 15:32-38.357 UTC [peer] func1->INFO 007 Returning peer0.org1.www.messtone.com:7051

Messtone machines type...

Node.js

Messtone":"robertharper159@cloudshell:~$C++Build Tools: npm install - -global windows-build-tools.npm i install windows-build-tools.$npm install -g node gyp.npm install - -global - -production widows-build-tools from an elevated PowerShell or CMD.exe(run as Administrator).

cURL

Messtone":"robertharper159@cloudshell:~$- - - - - -BEGIN PGP SIGNATURE- - - - -iQEzBAABCgAdFiEEJ+3q8i86vOtQ25oSXMkI/bceEsIFAIOxj7kACgkQXMkI/bceEsJP/QgAjHyC7vwPzwgVum9XQ4+Ib8G0bFOEh9sAPj/pB8Rydd7tQQ6XH4guNIBETu/IMUqR4qJgwrONVOAAzJfdlIvqK7o+pkWcsMORH2smk5dLYn9AsDVOfSeRjqQq3/rEK2Uf8NGsm43zTs9gVtXNSVgvFAyanXoa4o+td58aOcTIDDXTAaOBGooxC1h792rx4RHVe9XFPrZMCnXQEeaqNtkuuE5DZhMMTYOvcarQOjOgh1lRqfY5aut6xTsn4pOHLA/mVUdG1hQ/AowVxM4F7a7yzXRRh7EJsE/yyuhbs5pz9smd3bLpxpnRuXesZcOBdHRrn1OyO1qeyDp5aMnTq4IDYw===//qS- - - - -END PGP SIGNATURE- - - - -Messtone machines type...

LEDGER

Messtone":"robertharper159@cloudshell:~$WindowsPowerShell for the binaries command,and usein the uname Command.Git 64bit supported git clone.Docker. Distributions: git config - -global core.autocrlf false git config - -global core.longpaths true.Check parameters settings:git config - -get core.autocrlf git config - -get core.longpaths.Transfering a new file:curl -s -T file1 sftp://usermesstone@hostmesstone/tmp/file1-Q'*Messtone rm/tmp/file1'

Messtone machines type...

XL-CLI

Messtone":"robertharper159@cloudshell:~$Fire up XL CLI`Run Mac curl -LO https://dist.xebialabs.com/public/xl-climesstone/8.6.1/Darwin-amd64/xl chmod +x xl sudo mv xl/usr/local/bin.Run Linux as follows`curl -LO http://dist.xebialabs.com/public/xl-climesstone/8.6.1/linux-amd64/xl chmod +x xl sudo mv xl/usr/local/bin.JETPACK Release Orchestration:apiVersion: xl-release/v1 kind:Templates spec: -nameMesstone:XL deploy type:xldeploy.XLDeployServer url: http://xl-deploy:4516 userMesstone: admin password: **Messtonedesired-admin-password**Messtone.Apply deploy Server Configuration:xl apply -f configure-xl-jetpack.yaml

Messtone machines type...

XLJETPACK

Messtone":"robertharper159@cloudshell:~$XJETPACK Release orchestration deployment automation containers using Docker Compose.Messtone End-UserMesstone Licensing Agreement.docker compose.yaml file`version:'3' servi es:xl-deploy:image xebialabs/xl-ljetpack-deploy:8.6 ports:-"4516:4516"environment -ADMIN_PASSWORD**Messtone=desired-admin-password**Messtone -Accept_EULA=Y xl-release:image:xebialabs/xl-jetpack-release:8.6 ports:-"5516:5516" environment:-ADMIN_PASSWORD=**Messtonedesired-admin-password**Messtone -ACCEPT_EULA=Y.Messtone docker-compose.yaml file:docker-compose up

Messtone machines type...