Skip to content

Instantly share code, notes, and snippets.

c-success

Block or report user

Report or block c-success

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View secret.yaml
apiVersion: v1
kind: Secret
metadata:
name: secret
type: Opaque
data:
username: <User Name>
password: <Password>
View config-mgmt-api.json
curl 'http://104.198.109.223:9081/api/v1/config' -H 'Pragma: no-
cache' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language:
en-US,en;q=0.8' -H 'Au1thorization: YWRtaW46YnFCSTBkOEY1SWV1e
TNEUToyMGI5YTgwOC00YTE0LTQwOGMtOGQxNi02NGI0MWVhZTliN2U='
-H 'Accept: application/json, text/plain, */*' -
H 'Content-Type: application/json' -H 'Access-Control-Allow-
Origin: *' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS
X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/55.0.2883.95 Safari/537.36' -H 'Cache-Control: no-
cache' -H 'Connection: keep-alive' --data-binary
View microservice_dashboard.json
curl -i -H 'Accept: application/json' -H 'Content-Type:
application/json' -H 'Authorization:Basic YWRtaW46YnFCS
TBkOEY1SWV1eTNEUTplM2Q3MWNiMC0yNmM3LTQ0ZmEtOTkwOC0xMGE2M
jU3ZGRkMGY=' -X GET
http://104.198.109.223:9081/api/v1/cluster/service?app=barista
View RBAC.yaml
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: rbac
subjects:
- kind: ServiceAccount
# Reference to upper's `metadata.name`
name: default
# Reference to upper's `metadata.namespace`
namespace: default
View Thunder_ingress_resource.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ingress-resource
spec:
rules:
- host: app.a10demo.com
http:
paths:
- path: /
View Thunder_Ingress_controller.yaml
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: thunder-ingress-controller
spec:
replicas: 1
template:
metadata:
labels:
app: thunder-ingress-controller
View Querying top 10 info.py
POST /api/v2/analytics/ladc/pr-client-os HTTP/1.1
Host: 35.226.184.162:8443
provider: root
tenant: Test
Authorization: Basic cWFhdXRvbWF0aW9uMkBhcHBjaXRvLm5ldDpwYXNzd29yZA==
Content-Type: application/json
{
"ladcClientOs": {
"from": 0,
View Querying logs.py
POST /api/v2/analytics/ladc/accesslog HTTP/1.1
Host: 35.226.184.162:8443
provider: root
tenant: Test
Authorization: Basic cWFhdXRvbWF0aW9uMkBhcHBjaXRvLm5ldDpwYXNzd29yZA==
Content-Type: application/json
{
"logs": {
"sort": "desc",
View Using aggregation with filter, histogram and groupby.py
POST /api/v2/analytics/ladc/pr-client-os HTTP/1.1
Host: 35.226.184.162:8443
provider: root
tenant: Test
Authorization: Basic cWFhdXRvbWF0aW9uMkBhcHBjaXRvLm5ldDpwYXNzd29yZA==
Content-Type: application/json
{
"ladcClientOs": {
"fields": [
View USing aggregation with filter, groupby.py
POST /api/v2/analytics/ladc/pr-client-os HTTP/1.1
Host: 35.226.184.162:8443
provider: root
tenant: Test
Content-Type: application/json
Authorization: Basic cWFhdXRvbWF0aW9uMkBhcHBjaXRvLm5ldDpwYXNzd29yZA==
{
"ladcClientOs": {
"fields": [
You can’t perform that action at this time.