This file contains 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
❗ Enabling 'ingress' returned an error: running callbacks: [sudo KUBECONFIG=/var/lib/minikube/kubeconfig /var/lib/minikube/binaries/v1.22.3/kubectl apply -f /etc/kubernetes/addons/ingress-deploy.yaml: Process exited with status 1 | |
stdout: | |
namespace/ingress-nginx unchanged | |
serviceaccount/ingress-nginx unchanged | |
serviceaccount/ingress-nginx-admission unchanged | |
role.rbac.authorization.k8s.io/ingress-nginx unchanged | |
role.rbac.authorization.k8s.io/ingress-nginx-admission unchanged | |
clusterrole.rbac.authorization.k8s.io/ingress-nginx unchanged | |
clusterrole.rbac.authorization.k8s.io/ingress-nginx-admission unchanged | |
rolebinding.rbac.authorization.k8s.io/ingress-nginx unchanged |
This file contains 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
n = [11, 14, 3, 17, 7, 1, 16, 16, 4, 18, 2, 13, 5, 4, 5, 12] | |
g = 4 | |
a = {i:True for i in range(len(n))} | |
target_sum = sum(n)/g | |
def compute_pairs(n): | |
frame = 0 | |
size = len(n)-int(len(n)/g) | |
p = {} |