Tiny Url
curl -sSL https://tinyurl.com/installBox | bash| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| name: app1 | |
| labels: | |
| allow-attachment-to-infra-gw: "true" | |
| --- | |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: |
To Copy datas into ou out from China region, we need Data Transfer Hub.
https://aws.amazon.com/solutions/implementations/data-transfer-hub/
Sometimes it is necessary to copy public docker images to private ECR repo.
We can manually do this using manual scripts.
| # Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy of this | |
| # software and associated documentation files (the "Software"), to deal in the Software | |
| # without restriction, including without limitation the rights to use, copy, modify, | |
| # merge, publish, distribute, sublicense, and/or sell copies of the Software, and to | |
| # permit persons to whom the Software is furnished to do so. | |
| # | |
| # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, |
| # Version: 20200918: 25ca1bc881f433d2a42c3b5f59da416f4ef6dc44 | |
| apiVersion: apiextensions.k8s.io/v1beta1 | |
| kind: CustomResourceDefinition | |
| metadata: | |
| annotations: | |
| controller-gen.kubebuilder.io/version: v0.2.4 | |
| creationTimestamp: null | |
| name: etcdlockservers.planetscale.com | |
| spec: | |
| group: planetscale.com |
When using VPC CNI, there are a number of things that can influence the number of pods an instance can have. Here, I won't go into details about the Kubernetes recommended limit of 100 pods per instance, neither than checking cpu/memory limits (i'll use very small pods) in order to focus on the IP allocation limits.
Our goal here will be to uses as many IP as possible on an instance.
Amazon EKS supports native VPC networking with the Amazon VPC Container Network Interface (CNI) plugin for Kubernetes.
| #!/bin/bash | |
| #https://gist.github.com/allamand/bbe3d237ea465ada68bfe3166aec7dd7 | |
| TMPKEY="my-ssh-tmp-key-${RANDOM}" | |
| EC2USER='ec2-user' | |
| generate_ssh_key_pair(){ | |
| ssh-keygen -t rsa -f ~/.ssh/${TMPKEY} -N "" && \ | |
| chmod 600 ~/.ssh/${TMPKEY}.pub | |
| } |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
| <!DOCTYPE html> | |
| <!-- cstar_perf (https://github.com/datastax/cstar_perf) graphing | |
| utility adapted for use directly with command line cassandra-stress --> | |
| <head> | |
| <meta charset="utf-8"> | |
| <script language="javascript" type="text/javascript"> | |
| <!-- |