Challenge 1
Point the worker at the cluster DNS.
location / {
127.0.0.53 valid=30s ipv6=off;
proxy_pass http://$backend;
}
Press Ctrl⌘Enter to check your answer
Fill in resolvers, valid periods, and variable-driven proxy_pass.
Challenge 1
location / {
127.0.0.53 valid=30s ipv6=off;
proxy_pass http://$backend;
}
Press Ctrl⌘Enter to check your answer
Challenge 2
resolver 10.0.0.10 =15s;
Press Ctrl⌘Enter to check your answer
Challenge 3
location / {
;
resolver 10.0.0.10 valid=30s;
}
Press Ctrl⌘Enter to check your answer
Challenge 4
upstream api {
server api.internal.svc:8080 ;
}
Press Ctrl⌘Enter to check your answer
Challenge 5
upstream api {
api_zone 64k;
server api.internal:8080 resolve;
}
Press Ctrl⌘Enter to check your answer