This file contains hidden or 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
pipeline { | |
agent any | |
stages { | |
stage('Checkout') { | |
steps { | |
checkout scm | |
} | |
} |
This file contains hidden or 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
[2019-07-04 10:22:20,956] {__init__.py:540} DEBUG - Loaded DAG <DAG: video_content_status_sync> | |
[2019-07-04 10:22:20,958] {__init__.py:402} DEBUG - Importing /home/ubuntu/my_project/dags/task_update_user_loc.py | |
[2019-07-04 10:22:20,959] {__init__.py:402} DEBUG - Importing /home/ubuntu/my_project/dags/dags_register.py | |
Scheduling KPI metric task | |
Environment : development | |
Config file path : /home/ubuntu/my_project/config/development.json | |
Hotels count : 331 | |
KPI calculation scheduling | |
Scheduled feedback collection | |
Registered dimension table data check task |
This file contains hidden or 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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: aws-auth | |
namespace: kube-system | |
data: | |
mapRoles: | | |
- rolearn: my-arn | |
username: system:node:{{EC2PrivateDNSName}} | |
groups: |
This file contains hidden or 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
global: | |
scrape_interval: 1m | |
scrape_timeout: 10s | |
evaluation_interval: 1m | |
alerting: | |
alertmanagers: | |
- kubernetes_sd_configs: | |
- role: pod | |
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token | |
tls_config: |
This file contains hidden or 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
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: kube2iam | |
namespace: kube-system | |
--- | |
apiVersion: v1 | |
items: | |
- apiVersion: rbac.authorization.k8s.io/v1beta1 |
This file contains hidden or 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
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
name: kube2iam | |
labels: | |
app: kube2iam | |
namespace: kube-system | |
spec: | |
updateStrategy: | |
type: RollingUpdate |
This file contains hidden or 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
annotations: {} | |
awsRegion: us-east-2 | |
awsRole: <role_name> #arn not required, just a role name | |
awsAccessKeyId: | |
awsSecretAccessKey: | |
logGroupName: <log_group_name_in_cloudwatch> | |
rbac: | |
## If true, create and use RBAC resources |
This file contains hidden or 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
policies: | |
- name: high-risk-security-groups-remediate | |
resource: security-group | |
description: | | |
Remove any rule from a security group that allows 0.0.0.0/0 or ::/0 (IPv6) ingress | |
and notify the user who added the violating rule. | |
mode: | |
type: cloudtrail | |
role: arn:aws:iam::<account_number>:role/<role_name> | |
events: |
This file contains hidden or 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
--- | |
kind: Deployment | |
apiVersion: extensions/v1beta1 | |
metadata: | |
name: kafka-broker0 | |
spec: | |
template: | |
metadata: | |
labels: | |
app: kafka |
This file contains hidden or 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
[ | |
{ | |
"_id": "f0767c10-d29f-11e8-9dcb-a75312df94f7", | |
"_type": "dashboard", | |
"_source": { | |
"title": "NGINX Dashboard", | |
"hits": 0, | |
"description": "", | |
"panelsJSON": "[{\"panelIndex\":\"1\",\"gridData\":{\"x\":0,\"y\":0,\"w\":48,\"h\":15,\"i\":\"1\"},\"embeddableConfig\":{\"mapCenter\":[16.636191878397664,23.73046875],\"mapZoom\":2},\"id\":\"e7241f10-d29e-11e8-9dcb-a75312df94f7\",\"type\":\"visualization\",\"version\":\"6.3.2\"},{\"panelIndex\":\"2\",\"gridData\":{\"x\":32,\"y\":15,\"w\":16,\"h\":7,\"i\":\"2\"},\"embeddableConfig\":{},\"id\":\"14e70e80-d29f-11e8-9dcb-a75312df94f7\",\"type\":\"visualization\",\"version\":\"6.3.2\"},{\"panelIndex\":\"4\",\"gridData\":{\"x\":23,\"y\":22,\"w\":21,\"h\":12,\"i\":\"4\"},\"embeddableConfig\":{},\"id\":\"5517b450-d29f-11e8-9dcb-a75312df94f7\",\"type\":\"visualization\",\"version\":\"6.3.2\"},{\"panelIndex\":\"5\",\"gridData\":{\"x\":0,\"y\":15,\"w\":16,\"h\":7,\"i\":\"5\"},\"embeddableConfig\":{},\"id\":\"78e5a8b0-d29f-11e8-9dcb-a75312df |