Comments on course
Comments
-
On this page at the bottom there is the text:
If we deployed the customers service version v2, the responses we would get back when calling the http://customers.default.svc.cluster.local would be random. They would either come from the v2 or v1 version of the customers service. That is because the selector label in the Kubernetes service does not have the version label set.
The customers service version v2 service is deployed 2 pages later in the lab. So at this point this paragraph is confusing and doesn't really make sense. It should be moved to a page after the customers VirtualService has been modified to split traffic between the versions, perhaps on this page.
0 -
I made another comment here about a hidden character. It said it had to be approved. When will that be done? Will I have to have more of my comments approved?
0 -
On this page, in the yaml for the web-frontend, the value for the environment variable CUSTOMER_SERVICE_URL has an unprintable character.
To see this you can copy the URL string from the web page for that variable into a file on linux and examine with and without non-printing characters:
cat > testfile value: 'http://customers.default.svc.cluster.local' ctrl-d
cat testfile value: 'http://customers.default.svc.cluster.local' cat -v testfile value: 'htM-bM-^@M-^Ltp://customers.default.svc.cluster.local'
If the unprintable section is not removed, the following error will show up when trying to access the page in the subsequent step:
Error calling downstream service ERR_UNESCAPED_CHARACTERS TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new ClientRequest (node:_http_client:184:13) at Object.request (node:http:102:10) at RedirectableRequest._performRequest (/app/node_modules/follow-redirects/index.js:279:24) at new RedirectableRequest (/app/node_modules/follow-redirects/index.js:61:8) at Object.request (/app/node_modules/follow-redirects/index.js:511:14) at dispatchHttpRequest (/app/node_modules/axios/lib/adapters/http.js:262:25) at new Promise (<anonymous>) at httpAdapter (/app/node_modules/axios/lib/adapters/http.js:49:10) at dispatchRequest (/app/node_modules/axios/lib/core/dispatchRequest.js:58:10) at Axios.request (/app/node_modules/axios/lib/core/Axios.js:109:15)0 -
As a side note, it may be that some of these errors would not be there if I downloaded the github repository. However, for me (and I assume at least some others) copying and pasting from the web page as I move through the course helps to keep me more engaged with the material. So the typos and hidden characters on the web pages for .yaml files make a difference for people that learn like I do.
0 -
Hi @jmanton
Thank you for flagging possible typos in the course. They will be addressed and fixed in collaboration with the course maintainer; some may be fixed faster than others.
Regarding the hidden characters you flagged, the html code used to format the text on the page does not show any characters. Unfortunately, we are not able to fix anything there to improve your experience. You can either use the files from the shared GitHub repo, or if you copy and paste from the course, you may want to use a simple text editor to paste the code first - this should help with the hidden characters.
I hope this helps!
Best regards,
Flavia
Linux Foundation Training Team0 -
I was just blocked by CloudFlare, but apparently unblocked. I'm going to stop providing feedback, because apparently if the wrong character strings are in the posts I get an IP ban from CloudFlare.
This is not a good way to encourage feedback about problems in the course.
1 -
Thank you for flagging possible typos in the course. They will be addressed and fixed in collaboration with the course maintainer; some may be fixed faster than others.
Regarding the hidden characters you flagged, the html code used to format the text on the page does not show any characters. Unfortunately, we are not able to fix anything there to improve your experience. You can either use the files from the shared GitHub repo, or if you copy and paste from the course, you may want to use a simple text editor to paste the code first - this should help with the hidden characters.
I hope this helps!
Best regards,
Flavia
Linux Foundation Training TeamThe hidden character is just that. It is hidden. You have to look at it using an editor that prints hidden characters. However it happily copies and pastes into files, but when those files are used they will throw an error.
1 -
On lab 4.2 it is unclear which namespace is being used to apply and read resources. Although I was able to figure this out, adding the namespace to the commands would be helpful to avoid errors
kubectl apply -n istio-system -f samples/addons/prometheus.yaml
With Prometheus now running and collecting metrics, send another request to the productpage service:
SLEEP_POD=$(kubectl get pod -n default -l app=sleep -ojsonpath='{.items[0].metadata.name}')
kubectl exec -n default $SLEEP_POD -it -- curl productpage:9080/productpage | head
0 -
there is an extra backslash in the command in lab 6.1. This does not work. Need to remove the \ after GATEWAY_IP. This goes along with the extra unprintable char in the "http" referenced above.
while true; do curl -H "Host: customers.default.svc.cluster.local" http://$GATEWAY_IP\; done
0 -
@jmanton said:
On this page, in the yaml for the web-frontend, the value for the environment variable CUSTOMER_SERVICE_URL has an unprintable character.To see this you can copy the URL string from the web page for that variable into a file on linux and examine with and without non-printing characters:
cat > testfile value: 'http://customers.default.svc.cluster.local' ctrl-d
cat testfile value: 'http://customers.default.svc.cluster.local' cat -v testfile value: 'htM-bM-^@M-^Ltp://customers.default.svc.cluster.local'
If the unprintable section is not removed, the following error will show up when trying to access the page in the subsequent step:
Error calling downstream service ERR_UNESCAPED_CHARACTERS TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new ClientRequest (node:_http_client:184:13) at Object.request (node:http:102:10) at RedirectableRequest._performRequest (/app/node_modules/follow-redirects/index.js:279:24) at new RedirectableRequest (/app/node_modules/follow-redirects/index.js:61:8) at Object.request (/app/node_modules/follow-redirects/index.js:511:14) at dispatchHttpRequest (/app/node_modules/axios/lib/adapters/http.js:262:25) at new Promise (<anonymous>) at httpAdapter (/app/node_modules/axios/lib/adapters/http.js:49:10) at dispatchRequest (/app/node_modules/axios/lib/core/dispatchRequest.js:58:10) at Axios.request (/app/node_modules/axios/lib/core/Axios.js:109:15)Hello, I current began this course, and I have unfortunately encountered the same error. The error can be easily identified when doing cat -v for the given .yaml file.
You must manually edit this file and re apply the file, and then this works.
0
Categories
- All Categories
- 176 LFX Mentorship
- 176 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 3 Cloud & Containers Training
- 1 Cybersecurity Training
- 1 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 1 Open Source Best Practice Training
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 768 Linux Distributions
- 81 Debian
- 67 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 950 Programming and Development
- 310 Kernel Development
- 622 Software Development
- 982 Software
- 374 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)
