Need help on lab 13 web-ui app
Some questions:
1) The class artifact tarball refers the app name as web-ui. But the lab of the PDF refers it as ruby-web-ui.
2) The video demo for the slide 13.12:
Looks like the app ruby-web-ui is already deployed, so that it could bind rest-backend to it.
But I had problem deploying the ruby-web-ui/web-ui (no related video to show how to deploy) so I cannot continue with lab 13 and furture labs (lab 14, etc.).
3) Video demo for the slide 13.13, push the web-ui:
Got problem:
$ cat ruby-web-ui-manifest.yml
---
name: ruby-web-ui
random-route: true
buildpack: https://github.com/cloudfoundry/ruby-buildpack.git#v1.6.35
memory: 128M
instances: 1
$ cf push -f ruby-web-ui-manifest.yml -p . --no-start
Pushing from manifest to org pcfdev-org / space pcfdev-space as admin...
Using manifest file ruby-web-ui-manifest.yml
Deprecation warning: Specifying app manifest attributes at the top level is deprecated. Found: buildpack, instances, memory, name, random-route.
Please see http://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html#deprecated for alternatives and other app manifest deprecations. This feature will be removed in the future.
Using manifest file ruby-web-ui-manifest.yml
Updating app ruby-web-ui in org pcfdev-org / space pcfdev-space as admin...
OK
Then it just stopped in here.
Comments
-
Videos are not correctly sequenced.
First deploy web-ui without starting the same, and then get back to the previous video, second part, covering binding.
Please have a look at the following documentation regarding deprecated items and their current substitutions:
Now you can only specify the deprecated list you've provided by using the
routesattribute:
---
applications
- name: webapp
routes:
- route: www.example.com/foo
- route: tcp.example.com:1234This app manifest feature has been deprecated, and a replacement option is under consideration.
Hope this helps,
Slobodanka
0 -
Found the problem:
$ cf push -f ruby-web-ui-manifest.yml -p . --no-start
It should extract the zip and cd into web-ui.
-p . means current directory
In my previous setting, when I deploy the app, I am in /root, So it try to include /root/.pcfdev when it is pushing the app. /root/.pcfdev is very large.
0
Categories
- All Categories
- 178 LFX Mentorship
- 178 LFX Mentorship: Linux Kernel
- 772 Linux Foundation IT Professional Programs
- 382 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 102 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 9 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 28 Cloud & Containers Training
- 3 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 5 System Administration Training
- 1 System Engineering Training
- 4 Web & Application Development Training
- 797 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 771 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 469 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 101 Linux Security
- 79 Network Management
- 101 System Management
- 46 Web Management
- 148 Mobile Computing
- 20 Android
- 113 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 404 Off Topic
- 126 Introductions
- 34 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 717 Software Development
- 1K Software
- 416 Applications
- 182 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 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)