Skip to content

Instantly share code, notes, and snippets.

webdev@23bc9c926463:/app$ ./manage.py createsuperuser
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 357, in execute
django.setup()
File "/usr/local/lib/python3.7/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
# copied from https://github.com/fr3nd/docker-percona-toolkit/blob/master/Dockerfile
FROM debian:jessie-slim
RUN apt-get update && apt-get install -y \
libdbd-mysql-perl \
libdbi-perl \
libio-socket-ssl-perl \
libterm-readkey-perl \
perl \
wget \
/*
Copyright 2018 the Heptio Ark contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/WORKSPACE b/WORKSPACE
index 27d4c6555..210b25337 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -7,7 +7,13 @@ http_archive(
sha256 = "f70c35a8c779bb92f7521ecb5a1c6604e9c3edd431e50b6376d7497abc8ad3c1",
)
-load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains", "go_download_sdk")
+http_archive(
ε !:! ~/go/src/k8s.io/kubernetes $ git diff
diff --git a/cmd/kubeadm/app/cmd/upgrade/diff.go b/cmd/kubeadm/app/cmd/upgrade/diff.go
index c0223fedb9..46404a2901 100644
--- a/cmd/kubeadm/app/cmd/upgrade/diff.go
+++ b/cmd/kubeadm/app/cmd/upgrade/diff.go
@@ -26,6 +26,7 @@ import (
"github.com/spf13/cobra"
corev1 "k8s.io/api/core/v1"
kubeadmapiv1alpha3 "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1alpha3"
+ "k8s.io/kubernetes/cmd/kubeadm/app/cmd/options"
sequenceDiagram
participant Dev
participant App Repo
participant Jenkins
participant DockerHub
participant Config Repo
participant Operator
participant K8s API
participant S3
participant App
Error: module.mdn-primary-cloudfront-stage.aws_cloudfront_distribution.mdn-primary-cf-dist: cache_behavior.10.forwarded_values.0.headers: should be a list
Error: module.mdn-primary-cloudfront-stage.aws_cloudfront_distribution.mdn-primary-cf-dist: cache_behavior.11.forwarded_values.0.headers: should be a list
Error: module.mdn-primary-cloudfront-stage.aws_cloudfront_distribution.mdn-primary-cf-dist: cache_behavior.12.forwarded_values.0.headers: should be a list
MDN uses Celery, which is an asynchronous task queue/job queue.
In SCL3, Celery was configured to use a RabbitMQ backend. AWS
doesn't provide a RabbitMQ service, but Celery can use Redis via
Elasticache (which it now does).
MDN uses Memcached as a generic shared cache in kuma, kumascript,
waffle (feature switches), rate limiting, and Cacheback.
diff --git a/k8s/tools/node_upgrades/generate_update_nodes.py b/k8s/tools/node_upgrades/generate_update_nodes.py
index 3b3dc0e..596d8b1 100755
--- a/k8s/tools/node_upgrades/generate_update_nodes.py
+++ b/k8s/tools/node_upgrades/generate_update_nodes.py
@@ -13,9 +13,10 @@ def get_public_ip(addresses):
def format_node_command(node):
node_name = node.metadata.name
+ external_id = node.spec.external_id
node_type = node.metadata.labels['kubernetes.io/role']
Running load tests for 300s
54.152.126.220 | SUCCESS | rc=0 >>
Requests [total, rate] 30000, 100.00
Duration [total, attack, wait] 5m0.219038353s, 4m59.989999813s, 229.03854ms
Latencies [mean, 50, 95, 99, max] 179.381517ms, 163.054728ms, 331.153473ms, 724.411335ms, 1.447728273s
Bytes In [total, mean] 968726862, 32290.90
Bytes Out [total, mean] 0, 0.00
Success [ratio] 96.63%
Status Codes [code:count] 502:1006 200:28990 504:4
Error Set: