- Getting the kube cluster info
$ kubectl cluster-info
$ kubectl cluster-info | grep master #(Getting the master node info-IP)
- Getting all node-info in a cluster and getting all attributes of nodes
#!/bin/bash | |
echo "My firsrt ever gist" |
<?xml version='1.0' encoding='UTF-8'?> | |
<server xmlns="urn:jboss:domain:1.2"> | |
<extensions> | |
<extension module="org.jboss.as.clustering.infinispan"/> | |
<extension module="org.jboss.as.configadmin"/> | |
<extension module="org.jboss.as.connector"/> | |
<extension module="org.jboss.as.deployment-scanner"/> | |
<extension module="org.jboss.as.ee"/> | |
<extension module="org.jboss.as.ejb3"/> |
#!bin/bash/ | |
cd | |
echo "Downloading the jboss-as-7.1.." | |
#wget http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.zip | |
echo "Unzinging the zip" | |
unzip jboss-as-7.1.1.Final.zip | |
#rm jboss-as-7.1.1.Final.zip | |
cd ~/jboss-as-7.1.1.Final/ |
# search for "jenkins" in the spinstack-on-gke.yaml file | |
ci: | |
jenkins: | |
enabled: true | |
masters: | |
- name: jenkins-master | |
address: http://jenkins.spinnaker.svc.cluster.local:8080 | |
# enter your jenkins user name and password | |
username: {{jenkins-username}} | |
password: {{jenkins-password}} |
{ | |
"dashboardFilters": [], | |
"displayName": "PSC - Service Publisher Dashboard", | |
"labels": {}, | |
"mosaicLayout": { | |
"columns": 48, | |
"tiles": [ | |
{ | |
"height": 14, | |
"widget": { |
{ | |
"dashboardFilters": [], | |
"displayName": "PSC - Service Consumer Dashboard", | |
"labels": {}, | |
"mosaicLayout": { | |
"columns": 48, | |
"tiles": [ | |
{ | |
"height": 12, | |
"widget": { |