oracle / cloudtestdrive Goto Github PK
View Code? Open in Web Editor NEWLicense: Universal Permissive License v1.0
License: Universal Permissive License v1.0
Hello Jan, part 1 and part 2 have broken links
The escape characters for javascript expression to concatenate the postcode and the city needs a new line (return) on the last line to be properly rendered.
Let me know if administrator prefers a pull request.
", " +
$v("P6_POSTAL_CODE").replace(",", " ") +
", " +
$v("P6_CITY").replace(",", " ")
Vs.
", " +
$v("P6_POSTAL_CODE").replace(",", " ") +
", " +
$v("P6_CITY").replace(",", " ")```
This line doesn't belong to this code snippet. but the triple quote in previous line mess it around.
After following the tutorial, the using the ip to acces the demo deployed site doesn't work. Build runs ok.
[2021-04-25 13:02:15] + kubectl get pods
[2021-04-25 13:02:18] NAME READY STATUS RESTARTS AGE
[2021-04-25 13:02:18] atp2-75ffb788cc-svsct 0/1 ImagePullBackOff 0 6s
Pod description
Events:
Type Reason Age From Message
Normal Scheduled 25m default-scheduler Successfully assigned default/atp2-75ffb788cc-svsct to 10.0.10.154
Normal Pulling 24m (x4 over 25m) kubelet Pulling image "fra.ocir.io/fri8nesdgloc/atpdocker_pi/atp01:latest"
Warning Failed 24m (x4 over 25m) kubelet Failed to pull image "fra.ocir.io/fri8nesdgloc/atpdocker_pi/atp01:latest": rpc error: code = Unknown desc = Get "https://fra.ocir.io/v2/fri8nesdgloc/atpdocker_pi/atp01/manifests/latest": unknown: Unauthorized
Warning Failed 24m (x4 over 25m) kubelet Error: ErrImagePull
Warning Failed 5m43s (x87 over 25m) kubelet Error: ImagePullBackOff
Normal BackOff 36s (x110 over 25m) kubelet Back-off pulling image "fra.ocir.io/fri8nesdgloc/atpdocker_pi/atp01:latest"
https://github.com/oracle/cloudtestdrive/blob/master/AppDev/ATP-OKE/LabGuide670DeployDocker.md
We have the 2016 as date in the file, should we update this to 2020?
I am see this error when I try to run terraform plan
Error: Attempt to index null value
on k8s.tf line 35, in resource "oci_containerengine_node_pool" "K8S_pool1":
35: availability_domain = lookup(data.oci_identity_availability_domains.ads.availability_domains[0],"name")
|----------------
| data.oci_identity_availability_domains.ads.availability_domains is null
This value is null, so it does not have any indices.
The lab guide:
https://github.com/oracle/cloudtestdrive/blob/master/AppDev/ATP-OKE/README.md
I was at the last step (part 5 , step 6) of the lab exercise and got en error
I might not be at the right forum, then I will like to know where I should send this question to.
At Part 5 step 6 of the lab when I accessing : http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#%21/overview?namespace=default.
I got this error for developments, pods, replica sets, I think the error is because "/opt/oracle/lib/wallet_NODEAPPDB2" cannot be located.
.SetUp failed for volume "db-wallet" : secrets "db-wallet" not found
my atp2.yaml:
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: atp2
spec:
selector:
matchLabels:
app: atp2
replicas: 1 # deployment runs 1 pods matching the template
template: # create pods using pod definition in this template
metadata:
labels:
app: atp2
spec:
containers:
- name: atp2
image: fra.ocir.io/frvptrimr9jb/tpk_repo/atp01:latest
imagePullPolicy: Always
volumeMounts:
- mountPath: "/opt/oracle/lib/wallet_NODEAPPDB2"
name: db-wallet
readOnly: true
ports:
- containerPort: 3050 #Endpoint is at port 80 in the container
imagePullSecrets:
- name: tpk-ocirsecret
volumes:
- name: db-wallet
secret:
secretName: db-wallet
apiVersion: v1
kind: Service
metadata:
name: atp2
spec:
type: NodePort #Exposes the service as a node port
ports:
port: 3050
protocol: TCP
targetPort: 3050
selector:
app: atp2
/Kwan
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.