Headless Service - zk-headless ConfigMap - zk-config PodDisruptionBudget - zk-budget StatefulSet - zk
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
If you are receiving an error that the private doesn't match the certificate or that a certificate that you installed to a site is not trusted, try one of these commands. If you are trying to verify that an SSL certificate is installed correctly, be sure to check out the SSL Checker. | |
Check an MD5 hash of the public key to ensure that it matches with what is in a CSR or private key | |
` | |
openssl x509 -noout -modulus -in certificate.crt | openssl md5 | |
openssl rsa -noout -modulus -in privateKey.key | openssl md5 | |
openssl req -noout -modulus -in CSR.csr | openssl md5 | |
` | |
Check an SSL connection. All the certificates (including Intermediates) should be displayed | |
openssl s_client -connect www.paypal.com:443 |
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: Service | |
metadata: | |
name: zk-headless | |
labels: | |
app: zk-headless | |
spec: | |
ports: | |
- port: 2888 | |
name: server |
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: Deployment | |
metadata: | |
labels: | |
name: prometheus-deployment | |
name: prometheus | |
spec: | |
replicas: 1 | |
template: |
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
func main() { | |
ctx := context.Background() | |
// trap Ctrl+C and call cancel on the context | |
ctx, cancel := context.WithCancel(ctx) | |
c := make(chan os.Signal, 1) | |
signal.Notify(c, os.Interrupt) | |
defer func() { | |
signal.Stop(c) |
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
# chef-server | |
https://www.digitalocean.com/community/tutorial_series/getting-started-managing-your-infrastructure-using-chef | |
# knife cookbook | |
## prism cookbook | |
## third party cookbooks | |
# chef workflow | |
## bootstrap a node | |
## attribute role/env/default/overrite |
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
# knife cheat | |
## Search Examples | |
knife search "name:ip*" | |
knife search "platform:ubuntu*" | |
knife search "platform:*" -a macaddress | |
knife search "platform:ubuntu*" -a uptime | |
knife search "platform:ubuntu*" -a virtualization.system | |
knife search "platform:ubuntu*" -a network.default_gateway |
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
commit a621a043beecc78157cb8f1c54dd61054b003537 | |
Author: Jian Chen <[email protected]> | |
Date: Mon Jun 20 20:26:22 2016 +0800 | |
improve prism message grok pattern | |
diff --git a/metadata.rb b/metadata.rb | |
index 3711cf5..8663ad9 100644 | |
--- a/metadata.rb | |
+++ b/metadata.rb |
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
diff --git a/metadata.rb b/metadata.rb | |
index f0a5b4a..84c9aec 100644 | |
--- a/metadata.rb | |
+++ b/metadata.rb | |
@@ -4,7 +4,7 @@ maintainer_email '[email protected]' | |
license 'all_rights' | |
description 'Installs/Configures tropo-elasticsearch' | |
long_description 'Installs/Configures tropo-elasticsearch' | |
-version '0.1.0' | |
+version '0.1.8' |