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
| ➜ ambassador-config (⎈ arn:aws:eks:us-east-1:360915197767:cluster/mv-eks-ebs-eks:default) kubectl describe pod aws-node-69nk7 -n kube-system | |
| Name: aws-node-69nk7 | |
| Namespace: kube-system | |
| Priority: 2000000000 | |
| PriorityClassName: system-cluster-critical | |
| Node: ip-172-27-163-78.ec2.internal/172.27.163.78 | |
| Start Time: Thu, 29 Aug 2019 22:53:22 -0400 | |
| Labels: controller-revision-hash=77f89bb99b | |
| k8s-app=aws-node | |
| pod-template-generation=1 |
This file has been truncated, but you can view the full file.
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
| GET contact_current/_search | |
| { | |
| "size": 0, | |
| "query": { | |
| "bool": { | |
| "filter": [ | |
| { | |
| "geo_shape": { | |
| "gisLocation": { | |
| "shape": { |
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
| package io.dropwizard.servlets; | |
| import com.codahale.metrics.Meter; | |
| import com.codahale.metrics.MetricRegistry; | |
| import com.codahale.metrics.Timer; | |
| import com.codahale.metrics.annotation.ExceptionMetered; | |
| import com.codahale.metrics.annotation.Metered; | |
| import com.codahale.metrics.annotation.Timed; | |
| import java.lang.reflect.Method; |
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
| package io.dropwizard.logging; | |
| import ch.qos.logback.classic.LoggerContext; | |
| import ch.qos.logback.classic.spi.ILoggingEvent; | |
| import ch.qos.logback.classic.spi.LoggingEvent; | |
| import ch.qos.logback.core.Appender; | |
| import ch.qos.logback.core.AppenderBase; | |
| import ch.qos.logback.core.Layout; | |
| import ch.qos.logback.core.filter.Filter; | |
| import ch.qos.logback.core.spi.FilterReply; |
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
| require 'rubygems' | |
| require 'chef/encrypted_data_bag_item' | |
| secret = Chef::EncryptedDataBagItem.load_secret('~/encrypted_data_bag_secret') | |
| data = { | |
| 'admins' => { | |
| 'administrator' => { | |
| 'db' => 'admin', | |
| 'password' => 'secret', | |
| 'read_only' => false | |
| } |
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
| node.override['java']['jdk_version'] = '7' | |
| node.override['java']['install_flavor'] = 'oracle' | |
| node.override['java']['oracle']['accept_oracle_download_terms'] = true | |
| include_recipe "java" |
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
| motd_template = resources('template[/etc/motd.tail]') | |
| motd_template.source 'motd.tail.erb' | |
| motd_template.cookbook 'agamatrix_motd' |
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
| # Dropwizard Service - <%= @service_name %> | |
| # | |
| # <%= @service_description %> | |
| description "<%= @service_name %>" | |
| start on filesystem | |
| stop on runlevel S | |
| respawn |
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
| node.override['java']['jdk_version'] = '7' | |
| node.override['java']['install_flavor'] = 'oracle' | |
| node.override['java']['oracle']['accept_oracle_download_terms'] = true | |
| include_recipe "java" | |
| %w{ local_policy.jar US_export_policy.jar }.each do |jarfile| | |
| cookbook_file (node['java']['java_home'] + '/jre/lib/security/' + jarfile) do | |
| backup false | |
| mode 0644 |
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
| public enum Foo { | |
| Bar("Bar"), | |
| Baz("Baz"); | |
| public final String value; | |
| private Foo(final String value) { | |
| this.value = value; | |
| } |
NewerOlder