I hereby claim:
- I am glourenco on github.
- I am glourenco (https://keybase.io/glourenco) on keybase.
- I have a public key whose fingerprint is 6D87 197B CB06 42CD BFD6 512A 34B3 4EEE 1184 60C2
To claim this, I am signing this object:
alert('teste'); |
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: arangodb-cluster-exposed | |
spec: | |
selector: | |
arango_deployment: arango-production-cluster | |
role: coordinator | |
ports: | |
- name: http |
apiVersion: "database.arangodb.com/v1alpha" | |
kind: "ArangoDeployment" | |
metadata: | |
name: "arango-production-cluster" | |
spec: | |
mode: Cluster | |
image: arangodb/arangodb:3.6.1 | |
environment: Development | |
disableIPv6: true | |
tls: |
apiVersion: ceph.rook.io/v1 | |
kind: CephBlockPool | |
metadata: | |
name: replicapool | |
namespace: rook-ceph | |
spec: | |
failureDomain: host | |
replicated: | |
size: 3 | |
--- |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: nginx-ingress | |
spec: | |
rules: | |
- host: k8s.test.g | |
http: # in a HTTP way | |
paths: | |
- backend: # pointing to a backend service |
I hereby claim:
To claim this, I am signing this object:
System.out.println("\nWorkloads"); | |
JSONArray workloads = rancherClient.getWorkloads("c-sm5kw:p-lx87n"); | |
for (int i = 0; i < workloads.length(); i++) { | |
System.out.println(workloads.getJSONObject(i).toString()); | |
} |
public JSONArray getProjects() { | |
JSONArray returnArr = new JSONArray(); | |
try { | |
JSONObject json = readJsonFromUrl("https://" + rancherAddress + rancherProjects); | |
JSONArray dataArr = json.getJSONArray("data"); | |
for (int i = 0; i < dataArr.length(); i++) { | |
JSONObject dataObj = dataArr.getJSONObject(i); | |
JSONObject returnObj = new JSONObject(); | |
returnObj.put("name", dataObj.get("name")); |
RancherClient rancherClient = new RancherClient(); | |
System.out.println("\nProjects"); | |
JSONArray projects = rancherClient.getProjects(); | |
for (int i = 0; i < projects.length(); i++) { | |
System.out.println(projects.getJSONObject(i).toString()); | |
} |
public JSONArray getProjects() { | |
JSONArray returnArr = new JSONArray(); | |
try { | |
JSONObject json = readJsonFromUrl("https://" + rancherAddress + rancherProjects); | |
JSONArray dataArr = json.getJSONArray("data"); | |
for (int i = 0; i < dataArr.length(); i++) { | |
JSONObject dataObj = dataArr.getJSONObject(i); | |
JSONObject returnObj = new JSONObject(); | |
returnObj.put("name", dataObj.get("name")); |