Fortify FOD
So we are trying to pack our code as zip which lies in our git repo at location (parrot/deploy/java/app).
My question is, does fortify FOD expect the code to be present at a particular directory within the zip for eg. (fortify upload.zip/src/app)?
Or do I package the parrot/deploy/java/app folder directly.
https://redd.it/12zdh1h
@r_devops
So we are trying to pack our code as zip which lies in our git repo at location (parrot/deploy/java/app).
My question is, does fortify FOD expect the code to be present at a particular directory within the zip for eg. (fortify upload.zip/src/app)?
Or do I package the parrot/deploy/java/app folder directly.
https://redd.it/12zdh1h
@r_devops
Reddit
r/devops on Reddit: Fortify FOD
Posted by u/shawnx23 - 1 vote and no comments
How to Improve Your App Observability (Easily) with Grafana and OpenTelemetry
Check out the tutorial about your app observability: https://brightinventions.pl/blog/how-to-improve-your-app-observability-easily-with-grafana-and-opentelemetry/?fbclid=IwAR0eQJISS3lRTHvG_MTYK8wQ9xxP6ulm-IaV2viJamWzNzxiHDpc7KxvR2U&utm_source=reddit&utm_medium=organic_social&utm_id=blog_tech
https://redd.it/131lky6
@r_devops
Check out the tutorial about your app observability: https://brightinventions.pl/blog/how-to-improve-your-app-observability-easily-with-grafana-and-opentelemetry/?fbclid=IwAR0eQJISS3lRTHvG_MTYK8wQ9xxP6ulm-IaV2viJamWzNzxiHDpc7KxvR2U&utm_source=reddit&utm_medium=organic_social&utm_id=blog_tech
https://redd.it/131lky6
@r_devops
Bright Inventions
How to Improve Your App Observability (Easily) with Grafana and OpenTelemetry
Have you heard about the Pareto Principle (aka the 80/20 rule)? Briefly, it states that 80% of all outcomes are derived from 20% of causes…
Keep telling PM theories something doesn’t work
So we program email templates. Client refuses to test in anything other than the janky version of Outlook for emails that go to their clients as they don’t understand each email system has its own quarks.
Anyways full QA and UAT on this product.
Client submits a bug ticket that image reported as missing in Gmail.
Between me (programmer who didn’t even program this new product), PM and QA team we spent nearly all day trying to figure this out. I kept saying it had to be a filename issue. We can only test for this issue in the production environment because of how the stage environments are set to convert all recipient emails to out test inbox in Outlook… After about 3/4 of the day completed it is determined the filenames the client used when they uploaded had spaces and it is a known bug since 2014 that Gmail can’t render the images that have a space in the name.
https://redd.it/131myxn
@r_devops
So we program email templates. Client refuses to test in anything other than the janky version of Outlook for emails that go to their clients as they don’t understand each email system has its own quarks.
Anyways full QA and UAT on this product.
Client submits a bug ticket that image reported as missing in Gmail.
Between me (programmer who didn’t even program this new product), PM and QA team we spent nearly all day trying to figure this out. I kept saying it had to be a filename issue. We can only test for this issue in the production environment because of how the stage environments are set to convert all recipient emails to out test inbox in Outlook… After about 3/4 of the day completed it is determined the filenames the client used when they uploaded had spaces and it is a known bug since 2014 that Gmail can’t render the images that have a space in the name.
https://redd.it/131myxn
@r_devops
Reddit
r/devops on Reddit: Keep telling PM theories something doesn’t work
Posted by u/CodeLyoko26 - No votes and no comments
Intelligent next-gen editor for infra-as-code
Hi everyone, we’ve been working on an adaptive architecture engine as part of the open-source Klotho (github), and are now adding an intelligence layer on top of it we call InfraCopilot that features:
- High level editor - Start with a high level design and let InfraCopilot fill in the details
- Rearchitecting with confidence - Change architecture components and designs while InfraCopilot adjusts the rest to work with your changes
- Text + Visual editing - Use the UI or text based commands for maximum productivity
- Exporting Infrastructure-as-Code - Generate a deployable version of any of your architectures.
- Syncing with Github - Save and resume your work using your GitHub repo
We’re sharing the early access with the community - What are the last 2 Infra-as-Code tasks you had to do that took you more time than you were hoping?
https://redd.it/131psex
@r_devops
Hi everyone, we’ve been working on an adaptive architecture engine as part of the open-source Klotho (github), and are now adding an intelligence layer on top of it we call InfraCopilot that features:
- High level editor - Start with a high level design and let InfraCopilot fill in the details
- Rearchitecting with confidence - Change architecture components and designs while InfraCopilot adjusts the rest to work with your changes
- Text + Visual editing - Use the UI or text based commands for maximum productivity
- Exporting Infrastructure-as-Code - Generate a deployable version of any of your architectures.
- Syncing with Github - Save and resume your work using your GitHub repo
We’re sharing the early access with the community - What are the last 2 Infra-as-Code tasks you had to do that took you more time than you were hoping?
https://redd.it/131psex
@r_devops
GitHub
GitHub - klothoplatform/klotho: Klotho - write AWS applications at lightning speed
Klotho - write AWS applications at lightning speed - klothoplatform/klotho
Beware of pricing tricks from Kodekloud
Their annual subscription was 135USD.......but recently after a "discount", the cost went up to 180USD.
https://redd.it/131r8q8
@r_devops
Their annual subscription was 135USD.......but recently after a "discount", the cost went up to 180USD.
https://redd.it/131r8q8
@r_devops
Reddit
r/devops on Reddit: Beware of pricing tricks from Kodekloud
Posted by u/IamOkei - No votes and 1 comment
Best Practices for Managing On-Call Rotations
Here's an article with tips on how to best manage on-call rotations! Those lessons were hard-earned from over a decade in the trenches!
https://certomodo.io/best-practices/incident-management-oncall.html
https://redd.it/131un1v
@r_devops
Here's an article with tips on how to best manage on-call rotations! Those lessons were hard-earned from over a decade in the trenches!
https://certomodo.io/best-practices/incident-management-oncall.html
https://redd.it/131un1v
@r_devops
Certo Modo
Incident Management: On-Call
In our Incident Management series, we’ve talked about how mature monitoring, escalation policies, and alerting enable a swift response when things go wrong in production. Let’s now talk about the people and processes that actually do the responding: the on…
How do I restrict access to a Vercel app to traffic from my companys VPN?
I have this complex form I have deployed on Vercel and I only want people to be able to view it from the company VPN. How do I go about this? Do I dockerize the app with nginx and set up some rules, or do I use some Vercel plugin?
P.S: Can you pause or shelve a deployment? I can only see an option to delete but not to pause or take something offline.
https://redd.it/131ylq0
@r_devops
I have this complex form I have deployed on Vercel and I only want people to be able to view it from the company VPN. How do I go about this? Do I dockerize the app with nginx and set up some rules, or do I use some Vercel plugin?
P.S: Can you pause or shelve a deployment? I can only see an option to delete but not to pause or take something offline.
https://redd.it/131ylq0
@r_devops
Reddit
r/devops on Reddit: How do I restrict access to a Vercel app to traffic from my companys VPN?
Posted by u/BigBootyBear - No votes and no comments
Octopus Deploy with TFS
Hi, We are considering Octopus but we still use TFS not GIT.
How's their support for TFS?
https://redd.it/131tmpm
@r_devops
Hi, We are considering Octopus but we still use TFS not GIT.
How's their support for TFS?
https://redd.it/131tmpm
@r_devops
Reddit
r/devops on Reddit: Octopus Deploy with TFS
Posted by u/intrasight - 2 votes and 4 comments
Best AI course for a senior DevOps engineer?
I am a senior DevOps engineer with some backend knowledge.
I have recently worked on several projects, and I am now interested in learning how to use AI and integrate it into my daily work and projects.
Can anyone recommend an AI course that covers the basics of AI and its implementation in projects using Python?
https://redd.it/1324o7i
@r_devops
I am a senior DevOps engineer with some backend knowledge.
I have recently worked on several projects, and I am now interested in learning how to use AI and integrate it into my daily work and projects.
Can anyone recommend an AI course that covers the basics of AI and its implementation in projects using Python?
https://redd.it/1324o7i
@r_devops
Reddit
r/devops on Reddit: Best AI course for a senior DevOps engineer?
Posted by u/y3llowm4rker - No votes and 5 comments
Best way to control Code PR Merge/Approval at Github/Gitlab level or at Argo/Jenkins Level?
I might be wording it wrong here, but basically I want to hear out opinions on best way to handle the code deployments onto EKS Setups.
Do we put a guardrails and validate that we are merging the right code at Gitlab/Github and then let the Dummy CD tools (Like Argo or Jenkins) pull and push the code or do you think the best way is to let users provide an option at Argo (or Jenkins) to approve the code coming to their end and let the deployment goes through??
​
Any thoughts on this silly topic??
https://redd.it/131sba9
@r_devops
I might be wording it wrong here, but basically I want to hear out opinions on best way to handle the code deployments onto EKS Setups.
Do we put a guardrails and validate that we are merging the right code at Gitlab/Github and then let the Dummy CD tools (Like Argo or Jenkins) pull and push the code or do you think the best way is to let users provide an option at Argo (or Jenkins) to approve the code coming to their end and let the deployment goes through??
​
Any thoughts on this silly topic??
https://redd.it/131sba9
@r_devops
Reddit
r/devops on Reddit: Best way to control Code PR Merge/Approval at Github/Gitlab level or at Argo/Jenkins Level?
Posted by u/Mountain_Ad_1548 - 2 votes and 1 comment
Dev podcast listeners - what do dev podcasts never talk about?
Basically the title. If you listen to dev podcasts, what topics do you feel are not getting enough attention? What should be talked about more? What would you like to hear?
I'm an editor at a new dev podcast, I feel like "Top 10 AI dev tool" listicles created with ChatGPT are getting kind of boring. Would love to hear your thoughts.
https://redd.it/131swu7
@r_devops
Basically the title. If you listen to dev podcasts, what topics do you feel are not getting enough attention? What should be talked about more? What would you like to hear?
I'm an editor at a new dev podcast, I feel like "Top 10 AI dev tool" listicles created with ChatGPT are getting kind of boring. Would love to hear your thoughts.
https://redd.it/131swu7
@r_devops
Buzzsprout
Command+Shift+Left
Command+Shift+Left is a podcast that helps you navigate the treacherous waters of the software development, ops, and security world, while also diving into the hot current trends in the industry. Join us, and embark on a journey through hilarious real-world…
Is there any good Open Source Alternative to Ploi, RunCloud, ServerPilot...
Like the title said, is there any open-source alternative to those services that is equal in features?
I want an open source alternative that I can install on one server and have the ability to connect an manage many other servers.
https://redd.it/1329kd7
@r_devops
Like the title said, is there any open-source alternative to those services that is equal in features?
I want an open source alternative that I can install on one server and have the ability to connect an manage many other servers.
https://redd.it/1329kd7
@r_devops
Reddit
r/devops on Reddit: Is there any good Open Source Alternative to Ploi, RunCloud, ServerPilot...
Posted by u/00ProBoy00 - No votes and no comments
Issue with ingress-nginx on Windows
https://github.com/kubernetes/ingress-nginx
​
Read the docs, but this command doesn't work:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.7.0/deploy/static/provider/cloud/deploy.yaml
​
I get:
Resource: "batch/v1, Resource=jobs", GroupVersionKind: "batch/v1, Kind=Job"
Name: "ingress-nginx-admission-patch", Namespace: "ingress-nginx"
for: "https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.7.0/deploy/static/provider/cloud/deploy.yaml": Job.batch "ingress-nginx-admission-patch" is invalid: spec.template: Invalid value: core.PodTemplateSpec{ObjectMeta:v1.ObjectMeta{Name:"ingress-nginx-admission-patch", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), DeletionTimestamp:<nil>, DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string\]string{"app.kubernetes.io/component":"admission-webhook", "app.kubernetes.io/instance":"ingress-nginx", "app.kubernetes.io/name":"ingress-nginx", "app.kubernetes.io/part-of":"ingress-nginx", "app.kubernetes.io/version":"1.7.0", "controller-uid":"8326bc68-6f8c-426f-91d5-72d58694b3e7", "job-name":"ingress-nginx-admission-patch"}, Annotations:map[string\]string(nil), OwnerReferences:[\]v1.OwnerReference(nil), Finalizers:[\]string(nil), ManagedFields:[\]v1.ManagedFieldsEntry(nil)}, Spec:core.PodSpec{Volumes:[\]core.Volume(nil), InitContainers:[\]core.Container(nil), Containers:[\]core.Container{core.Container{Name:"patch", Image:"registry.k8s.io/ingress-nginx/kube-webhook-certgen:v20230312-helm-chart-4.5.2-28-g66a760794@sha256:01d181618f270f2a96c04006f33b2699ad3ccb02da48d0f89b22abce084b292f", Command:[\]string(nil), Args:[\]string{"patch", "--webhook-name=ingress-nginx-admission", "--namespace=$(POD_NAMESPACE)", "--patch-mutating=false", "--secret-name=ingress-nginx-admission", "--patch-failure-policy=Fail"}, WorkingDir:"", Ports:[\]core.ContainerPort(nil), EnvFrom:[\]core.EnvFromSource(nil), Env:[\]core.EnvVar{core.EnvVar{Name:"POD_NAMESPACE", Value:"", ValueFrom:(*core.EnvVarSource)(0xc00a791ac0)}}, Resources:core.ResourceRequirements{Limits:core.ResourceList(nil), Requests:core.ResourceList(nil), Claims:[\]core.ResourceClaim(nil)}, VolumeMounts:[\]core.VolumeMount(nil), VolumeDevices:[\]core.VolumeDevice(nil), LivenessProbe:(*core.Probe)(nil), ReadinessProbe:(*core.Probe)(nil), StartupProbe:(*core.Probe)(nil), Lifecycle:(*core.Lifecycle)(nil), TerminationMessagePath:"/dev/termination-log", TerminationMessagePolicy:"File", ImagePullPolicy:"IfNotPresent", SecurityContext:(*core.SecurityContext)(0xc00a0ea5a0), Stdin:false, StdinOnce:false, TTY:false}}, EphemeralContainers:[\]core.EphemeralContainer(nil), RestartPolicy:"OnFailure", TerminationGracePeriodSeconds:(*int64)(0xc0104743c8), ActiveDeadlineSeconds:(*int64)(nil), DNSPolicy:"ClusterFirst", NodeSelector:map[string\]string{"kubernetes.io/os":"linux"}, ServiceAccountName:"ingress-nginx-admission", AutomountServiceAccountToken:(*bool)(nil), NodeName:"", SecurityContext:(*core.PodSecurityContext)(0xc00a6ed4d0), ImagePullSecrets:[\]core.LocalObjectReference(nil), Hostname:"", Subdomain:"", SetHostnameAsFQDN:(*bool)(nil),
https://github.com/kubernetes/ingress-nginx
​
Read the docs, but this command doesn't work:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.7.0/deploy/static/provider/cloud/deploy.yaml
​
I get:
Resource: "batch/v1, Resource=jobs", GroupVersionKind: "batch/v1, Kind=Job"
Name: "ingress-nginx-admission-patch", Namespace: "ingress-nginx"
for: "https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.7.0/deploy/static/provider/cloud/deploy.yaml": Job.batch "ingress-nginx-admission-patch" is invalid: spec.template: Invalid value: core.PodTemplateSpec{ObjectMeta:v1.ObjectMeta{Name:"ingress-nginx-admission-patch", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), DeletionTimestamp:<nil>, DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string\]string{"app.kubernetes.io/component":"admission-webhook", "app.kubernetes.io/instance":"ingress-nginx", "app.kubernetes.io/name":"ingress-nginx", "app.kubernetes.io/part-of":"ingress-nginx", "app.kubernetes.io/version":"1.7.0", "controller-uid":"8326bc68-6f8c-426f-91d5-72d58694b3e7", "job-name":"ingress-nginx-admission-patch"}, Annotations:map[string\]string(nil), OwnerReferences:[\]v1.OwnerReference(nil), Finalizers:[\]string(nil), ManagedFields:[\]v1.ManagedFieldsEntry(nil)}, Spec:core.PodSpec{Volumes:[\]core.Volume(nil), InitContainers:[\]core.Container(nil), Containers:[\]core.Container{core.Container{Name:"patch", Image:"registry.k8s.io/ingress-nginx/kube-webhook-certgen:v20230312-helm-chart-4.5.2-28-g66a760794@sha256:01d181618f270f2a96c04006f33b2699ad3ccb02da48d0f89b22abce084b292f", Command:[\]string(nil), Args:[\]string{"patch", "--webhook-name=ingress-nginx-admission", "--namespace=$(POD_NAMESPACE)", "--patch-mutating=false", "--secret-name=ingress-nginx-admission", "--patch-failure-policy=Fail"}, WorkingDir:"", Ports:[\]core.ContainerPort(nil), EnvFrom:[\]core.EnvFromSource(nil), Env:[\]core.EnvVar{core.EnvVar{Name:"POD_NAMESPACE", Value:"", ValueFrom:(*core.EnvVarSource)(0xc00a791ac0)}}, Resources:core.ResourceRequirements{Limits:core.ResourceList(nil), Requests:core.ResourceList(nil), Claims:[\]core.ResourceClaim(nil)}, VolumeMounts:[\]core.VolumeMount(nil), VolumeDevices:[\]core.VolumeDevice(nil), LivenessProbe:(*core.Probe)(nil), ReadinessProbe:(*core.Probe)(nil), StartupProbe:(*core.Probe)(nil), Lifecycle:(*core.Lifecycle)(nil), TerminationMessagePath:"/dev/termination-log", TerminationMessagePolicy:"File", ImagePullPolicy:"IfNotPresent", SecurityContext:(*core.SecurityContext)(0xc00a0ea5a0), Stdin:false, StdinOnce:false, TTY:false}}, EphemeralContainers:[\]core.EphemeralContainer(nil), RestartPolicy:"OnFailure", TerminationGracePeriodSeconds:(*int64)(0xc0104743c8), ActiveDeadlineSeconds:(*int64)(nil), DNSPolicy:"ClusterFirst", NodeSelector:map[string\]string{"kubernetes.io/os":"linux"}, ServiceAccountName:"ingress-nginx-admission", AutomountServiceAccountToken:(*bool)(nil), NodeName:"", SecurityContext:(*core.PodSecurityContext)(0xc00a6ed4d0), ImagePullSecrets:[\]core.LocalObjectReference(nil), Hostname:"", Subdomain:"", SetHostnameAsFQDN:(*bool)(nil),
GitHub
GitHub - kubernetes/ingress-nginx: Ingress NGINX Controller for Kubernetes
Ingress NGINX Controller for Kubernetes. Contribute to kubernetes/ingress-nginx development by creating an account on GitHub.
Affinity:(*core.Affinity)(nil), SchedulerName:"default-scheduler", Tolerations:[\]core.Toleration(nil), HostAliases:[\]core.HostAlias(nil), PriorityClassName:"", Priority:(*int32)(nil), PreemptionPolicy:(*core.PreemptionPolicy)(nil), DNSConfig:(*core.PodDNSConfig)(nil), ReadinessGates:[\]core.PodReadinessGate(nil), RuntimeClassName:(*string)(nil), Overhead:core.ResourceList(nil), EnableServiceLinks:(*bool)(nil), TopologySpreadConstraints:[\]core.TopologySpreadConstraint(nil), OS:(*core.PodOS)(nil), SchedulingGates:[\]core.PodSchedulingGate(nil), ResourceClaims:[\]core.PodResourceClaim(nil)}}: field is immutable
https://redd.it/132buze
@r_devops
https://redd.it/132buze
@r_devops
Reddit
r/devops on Reddit: Issue with ingress-nginx on Windows
Posted by u/darkcatpirate - No votes and no comments
Localstack on Docker
Hi all, I have a school project that requires me to use LocalStack for AWS services on docker. My task is to write AWS Lambda scripts, some linkage to S3 as well as to the web API on LocalStack in a docker container. Can anyone share with me some good resources I can refer to?
​
Many thanks!
https://redd.it/131q9vj
@r_devops
Hi all, I have a school project that requires me to use LocalStack for AWS services on docker. My task is to write AWS Lambda scripts, some linkage to S3 as well as to the web API on LocalStack in a docker container. Can anyone share with me some good resources I can refer to?
​
Many thanks!
https://redd.it/131q9vj
@r_devops
Reddit
r/devops on Reddit: Localstack on Docker
Posted by u/boogywumpy - No votes and 2 comments
A question about how pods creation with requests
Hi guys,
I am new to kubernetes I need some direction to what ways can I create a pod with each request, for example 2 request hit and then 2 pods will create and then when the request is finished then 2 pods should kill with autoscale . I have been explored custom metrics but I don't know how to write conditions. If someone already worked can you please send some references links or somebody give any ideas to create pods based on the requests . I have been using load balancer as metal LB cluster for LB.
Thanks in advance
https://redd.it/131tjls
@r_devops
Hi guys,
I am new to kubernetes I need some direction to what ways can I create a pod with each request, for example 2 request hit and then 2 pods will create and then when the request is finished then 2 pods should kill with autoscale . I have been explored custom metrics but I don't know how to write conditions. If someone already worked can you please send some references links or somebody give any ideas to create pods based on the requests . I have been using load balancer as metal LB cluster for LB.
Thanks in advance
https://redd.it/131tjls
@r_devops
Reddit
r/devops on Reddit: A question about how pods creation with requests
Posted by u/Mukun00 - No votes and 7 comments
liberal arts major switching to a career in DevOps.
I did my undergrad in a liberal arts degree and I'm looking forward to switching my career into tech.
I'm not very proficient but I have tried my hands at Django, React and Postresql, tried MERN stack too ( I didn't really stick with it but if you asked me to build a simple demo app using one of the stacks I will know how to go about it)
I graduated with a BA last year and I've applied for MS in Computer science at a few unis in the UK ( since the UK has a lot of masters programs in CS for non-cs undergrads like me )
now I heard from a few of my friends from the UK that they hire only people who have experience, especially in DevOps and how finding internships in the UK is harder since there are a lot of international students applying for the same job posts.
so my question is :
Let's say I managed to grind through and get certs in Azure Fundamentals, or any one of the associates certification. Would the fact that I had no previous industry experience affect my job prospects? Can I apply for entry level jobs?
https://redd.it/132f8yg
@r_devops
I did my undergrad in a liberal arts degree and I'm looking forward to switching my career into tech.
I'm not very proficient but I have tried my hands at Django, React and Postresql, tried MERN stack too ( I didn't really stick with it but if you asked me to build a simple demo app using one of the stacks I will know how to go about it)
I graduated with a BA last year and I've applied for MS in Computer science at a few unis in the UK ( since the UK has a lot of masters programs in CS for non-cs undergrads like me )
now I heard from a few of my friends from the UK that they hire only people who have experience, especially in DevOps and how finding internships in the UK is harder since there are a lot of international students applying for the same job posts.
so my question is :
Let's say I managed to grind through and get certs in Azure Fundamentals, or any one of the associates certification. Would the fact that I had no previous industry experience affect my job prospects? Can I apply for entry level jobs?
https://redd.it/132f8yg
@r_devops
Reddit
r/devops on Reddit: liberal arts major switching to a career in DevOps.
Posted by u/hbsk8156 - No votes and 2 comments
cannot set up ingress
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-service
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- http:
paths:
- path: /service
pathType: Prefix
backend:
service:
name: myservice
port:
number: 8080
[192.168.49.2:8080/service](https://192.168.49.2:8080/service) doesn't respond, is there any error I did. I tried using the old configs, but it didn't work.
I also tried this:
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: ingress-service
annotations:
kubernetes.io/ingress.class: 'nginx'
nginx.ingress.kubernetes.io/use-regex: 'true'
nginx.ingress.kubernetes.io/rewrite-target: /$1
# UPDATE THIS LINE ABOVE
spec:
rules:
- http:
paths:
- path: /api/?(.*)
# UPDATE THIS LINE ABOVE
backend:
serviceName: myservice
servicePort: 8080
All my ports are mapped to 8080, so I am wondering why I get a timed out error.
​
I am just trying to map the load balancer to the ip-cluster (myservice) and everything maps to 8080 and all instances are just different instances of the same backend api,
https://redd.it/132fh8k
@r_devops
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-service
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- http:
paths:
- path: /service
pathType: Prefix
backend:
service:
name: myservice
port:
number: 8080
[192.168.49.2:8080/service](https://192.168.49.2:8080/service) doesn't respond, is there any error I did. I tried using the old configs, but it didn't work.
I also tried this:
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: ingress-service
annotations:
kubernetes.io/ingress.class: 'nginx'
nginx.ingress.kubernetes.io/use-regex: 'true'
nginx.ingress.kubernetes.io/rewrite-target: /$1
# UPDATE THIS LINE ABOVE
spec:
rules:
- http:
paths:
- path: /api/?(.*)
# UPDATE THIS LINE ABOVE
backend:
serviceName: myservice
servicePort: 8080
All my ports are mapped to 8080, so I am wondering why I get a timed out error.
​
I am just trying to map the load balancer to the ip-cluster (myservice) and everything maps to 8080 and all instances are just different instances of the same backend api,
https://redd.it/132fh8k
@r_devops
Reddit
r/devops on Reddit: cannot set up ingress
Posted by u/darkcatpirate - No votes and 1 comment
People who went back for a degree, what degree did you get
What degree did you get? Did your work pay for it? How did you manage your time? Did your degree advance your career.
https://redd.it/132js8u
@r_devops
What degree did you get? Did your work pay for it? How did you manage your time? Did your degree advance your career.
https://redd.it/132js8u
@r_devops
Reddit
r/devops on Reddit: People who went back for a degree, what degree did you get
Posted by u/akali1987 - No votes and 2 comments
setting up ingress easily on your local machine
Metadata
Name
ingress-serviceNamespace
defaultCreated
Apr 28, 2023 Age
2 hours ago UID
28d85070-b377-40f3-be2b-268b8c46f69eAnnotations
kubectl.kubernetes.io/last-applied-configuration
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/use-regex: true
Resource information
Endpoints
192.168.49.2
Rules
Host Path Path Type Service Name Service Port TLS Secret - /?(.*) Prefix ip-service 3000-
Events
NameReason
MessageSourceSub-objectCountFirst Seen
Last Seen
ingress-service.175a4928eb9af7d0SyncScheduled for sync nginx-ingress-controller -3 an hour ago 20 minutes ago
I was able to set up ingress, and I was using "Docker and Kubernetes The Complete Guide" configs for the ingress, but it seems it doesn't work at all and I can't connect to [192.168.49.2](https://192.168.49.2), because it's still scheduled for sync. Is the config 100% deprecated? Because in the tutorial it works locally with minikube, but I can't access it on my local machine after fixing the deprecated configs that no longer works.
​
Is there a really easy way to set it up now, because everything seems to be deprecated. He's also not using the official ingress library.
https://redd.it/132jvv2
@r_devops
Metadata
Name
ingress-serviceNamespace
defaultCreated
Apr 28, 2023 Age
2 hours ago UID
28d85070-b377-40f3-be2b-268b8c46f69eAnnotations
kubectl.kubernetes.io/last-applied-configuration
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/use-regex: true
Resource information
Endpoints
192.168.49.2
Rules
Host Path Path Type Service Name Service Port TLS Secret - /?(.*) Prefix ip-service 3000-
Events
NameReason
MessageSourceSub-objectCountFirst Seen
Last Seen
ingress-service.175a4928eb9af7d0SyncScheduled for sync nginx-ingress-controller -3 an hour ago 20 minutes ago
I was able to set up ingress, and I was using "Docker and Kubernetes The Complete Guide" configs for the ingress, but it seems it doesn't work at all and I can't connect to [192.168.49.2](https://192.168.49.2), because it's still scheduled for sync. Is the config 100% deprecated? Because in the tutorial it works locally with minikube, but I can't access it on my local machine after fixing the deprecated configs that no longer works.
​
Is there a really easy way to set it up now, because everything seems to be deprecated. He's also not using the official ingress library.
https://redd.it/132jvv2
@r_devops
Reddit
r/devops on Reddit: setting up ingress easily on your local machine
Posted by u/darkcatpirate - No votes and no comments
Help with upcoming devops interview
Hi guys, I am a recent software engineering bootcamp grad and I have a devops engineer interview in a few days. It’s for a apprenticeship - so very junior. Although I don’t know much about devops I would love to get this job. I have to give a presentation on devops, the future of the devops etc. does anyone have any tips on what I might what to research or include in the presentation that would be great!
Thanks
https://redd.it/132nkar
@r_devops
Hi guys, I am a recent software engineering bootcamp grad and I have a devops engineer interview in a few days. It’s for a apprenticeship - so very junior. Although I don’t know much about devops I would love to get this job. I have to give a presentation on devops, the future of the devops etc. does anyone have any tips on what I might what to research or include in the presentation that would be great!
Thanks
https://redd.it/132nkar
@r_devops
Reddit
r/devops on Reddit: Help with upcoming devops interview
Posted by u/readyman16 - No votes and 1 comment