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
Adding a datawarehouse manager: | |
prov = ManageIQ::Providers::Hawkular::DatawarehouseManager.new( | |
:name => 'centos7-6', | |
:zone => Zone.first, | |
:connection_configurations => [{:endpoint => {:role => :default, | |
:hostname => 'mtayer-centos7-6.eng.lab.tlv.redhat.com', | |
:port => "8080"}, | |
:authentication => {:authtype => :default, | |
:password => "password", | |
:userid => "jdoe"}}]) |
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
######################################### | |
/api/v1/ | |
######################################### | |
{ | |
"kind": "APIResourceList", | |
"groupVersion": "v1", | |
"resources": [ | |
{ | |
"name": "bindings", | |
"namespaced": 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
require 'kubeclient' | |
def toggle_pod(client) | |
hash = { | |
:kind => "Pod", | |
:metadata => { | |
:name => "nginx", | |
:namespace => "default", | |
:labels => "nginx", | |
:app => "nginx" |
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
--- | |
- MiqPolicySet: | |
name: 0bf2e43a-1211-11e6-aa9c-02424d459b45 | |
description: OpenSCAP profile | |
set_type: MiqPolicySet | |
guid: 0bf2e43a-1211-11e6-aa9c-02424d459b45 | |
read_only: | |
set_data: | |
mode: control | |
owner_type: |
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
*********** | |
* content * | |
*********** | |
1.) data parsed by refresh_parser | |
2.) kubernetes pods | |
************************************** | |
* 1.) data parsed by refresh_parser: * | |
************************************** |
NewerOlder