http://xxx:8090/prometheus/api/v1/query_range?query=sum by (instanceId,instancePhase,project_id)(sum_over_time(porta_downstream_rq_5xx{instanceId="ltv-verda-porta",instancePhase="alpha",project_id="1cd9bc91b48e4d0b8c34cd6932f221a0",product_id=~".*",api_id=~".*", api_key_id=~".*"}[59s]))&start=1603436397&end=1603436657&step=60s
Amazon Linux 2023 - User data configuration for launch templates to connect to the EKS cluster
Amazon Linux 2023 (AL2023) introduces a new node initialization process nodeadm that uses a YAML configuration schema. If you’re using self-managed node groups or an AMI with a launch template, you’ll now need to provide additional cluster metadata explicitly when creating a new node group MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="//" --// Content-Type: application/node.eks.aws --- apiVersion: node.eks.aws/v1alpha1 kind: NodeConfig spec: cluster: name: my-cluster-name-prd apiServerEndpoint: https://D59F.xyz.ap-northest-2.eks.amazonaws.com certificateAuthority: Y2VydGlmaWNhdGVBdXRob3JpdHk= cidr: 172.10.0.0/16 kubelet: config: clusterDNS: - 172.10.0.10 flags: - --node-labels=app=my-app,environment=production --// Content-Type: text/x-shellscript; charset="us-ascii" #!/bin/bash set -o errexit set -o pipefail set -o nounset # Install additional packages yum install -y htop jq iptables-services --//--
Comments
Post a Comment