Comments (13)
New issue mentioned above (#69) was closed by @shashankram as invalid. Let's add any clarification needed to the manual demo instructions.
from osm-docs.
Hi Dave, the manual demo in https://github.com/openservicemesh/osm/blob/136d902c61b6c0fc2d4eb98215fe3aff0d0e73f7/docs/content/docs/install/manual_demo/_index.md#create-Pods-Services-ServiceAccounts is old - let's make sure we are using the one in https://docs.openservicemesh.io/docs/install/manual_demo/
Can you please paste in the exact command and the error that gets displayed, into this issue? Thanks!
from osm-docs.
My guess is the problem happens at https://docs.openservicemesh.io/docs/install/manual_demo/#create-pods-services-serviceaccounts and it might be related to running on Windows - can you clarify the environment you're testing on?
kubectl apply -f - <<EOF
may or may not work if you're not on a Linux machine - perhaps there is a Windows equiv?
from osm-docs.
@davedoering can you check to see if this problem occurs if you use wsl2? We should determine if this is a "Windows cli versus Linux shell" issue.
from osm-docs.
@bridgetkromhout Phill and I ran through the Docker and K8s install again with no errors on that part. To troubleshoot I then ran in Powershell on Windows 10 Enterprise 21H1 Build 19043.985:
- wsl -l -v and it reports WSL version 2 for Docker, Ubuntu.
- osm version and it reports:
Version: v0.8.4; Commit: 3d923b3f2d72006f6cdaad056938c492c364196d; Date: 2021-05-18-19:14 - kubectl create namespace bookstore and it reports "namespace/bookstore created"
- osm namespace add bookstore and it reports "Namespace [bookstore] successfully added to mesh [osm]"
However, when I enter the next Demo commands:
kubectl apply -f - <<EOF
apiVersion: v1
kind: ServiceAccount
metadata:
name: bookstore
namespace: bookstore
it reports numerous errors (full list in the attached screenshot):
- Missing file specification after redirection operator. At line:1 char:20
- The '<' operator is reserved for future use. At line:1 char:21
- Missing expression after unary operator '-'. At line:4 char:1 + apiVersion: v1
- Unexpected token 'apiVersion:' in expression or statement. At line:18 char:4
- Not all parse errors were reported. Correct the reported errors and try again.
- CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
- FullyQualifiedErrorId : MissingFileSpecification
from osm-docs.
Ah, yes, these aren't command lines you can use (verbatim) with powershell; that is linux shell redirection. You can read more on https://stackoverflow.com/questions/60398794/powershell-error-missing-file-specification-after-redirection-operator - basically either we need to write a powershell-compatible option, or we need to tell people to run these in bash. Does it work for you if you use bash?
from osm-docs.
Oh and if you wanted to create a file with a given set of yaml in it, and say kubectl apply -f newfilename.yaml
, it would have the same effect. It's written in the docs with the redirect in order to make it easy to copy and paste it in one command.
from osm-docs.
Related: #66
from osm-docs.
@phillipgibson I note that the Demo step with the command:
cp .env.example .env
./scripts/port-forward-all.sh
Fails in Bash with the error "cp: cannot stat '.env.example': No such file or directory"
from osm-docs.
@davedoering I believe you may not have the OSM repo cloned to your computer. Let's make sure you have a local copy of the repo using the git clone https://github.com/openservicemesh/osm.git command in your WSL.
from osm-docs.
If you look at https://docs.openservicemesh.io/docs/install/manual_demo/#view-the-application-uis you will see this language:
In a new terminal session, run the following commands to enable port forwarding into the Kubernetes cluster from the root of the project directory.
This means you need to be in the root of the project directory to copy https://github.com/openservicemesh/osm/blob/main/.env.example.
from osm-docs.
Opened new issue to install missing resources as part of the OSM install.
from osm-docs.
Resolved this issue:
- OSM binary needs to be installed into WLS even though the doc has instructions for installing a WIndows version.
- Run subsequent demo install steps using Bash and not Powershell.
- Corrected doc to reflect these requirements.
from osm-docs.
Related Issues (20)
- Prefer discovery of newer versions of docs
- Expand deprecation policy to include APIs HOT 1
- Add documentation on local and online profiling process.
- Update documentation for Automated Root Cert Rotation
- Make commands easier to copy/paste
- Remove $ symbol from code blocks HOT 4
- Add documentation on integration with Prom Operator HOT 1
- Create Demo for v1.2 Statefulset feature
- Add documentation/guidance on how to collect Envoy access logs HOT 2
- [Proposal] Add internationalization support for osm docs HOT 1
- Add subdomain for release-v1.2 branch HOT 1
- Create Windows CNI documentation
- Windows blog post
- Should we use origin service account to proceed canary release?
- Create demo for rotating the OSM root certificate using MRCs HOT 1
- Create troubleshooting guide for OSM root certificate rotation
- Document OSM root certificate rotation and MRCs HOT 1
- Add info on how to install OSM cli HOT 1
- Broken links in Getting Started Section HOT 3
- Duplicate search results
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osm-docs.