Comments (8)
Thanks, installed 2.0.9 this morning and it's working now ๐
from lens.
Just a side note that you shouldn't be able to edit pod if it's created by deployment, but still you should see different error message.
The editor is using similar mechanism that is used in embedded terminal under the hood. Are you able to execute kubectl
commands in embedded terminal?
from lens.
Yes I can do kubectl commands in the terminal.
I tried editing the deployment of the pod I was editing with the same result.
apiVersion: apps/v1
kind: Deployment
metadata:
name: kube-state-metrics
namespace: lens-metrics
selfLink: /apis/apps/v1/namespaces/lens-metrics/deployments/kube-state-metrics
uid: 9ce1283b-e5dc-11e9-bb7d-2e2df2e8421e
resourceVersion: '49805678'
generation: 1
creationTimestamp: '2019-10-03T12:52:09Z'
annotations:
deployment.kubernetes.io/revision: '1'
kubectl.kubernetes.io/last-applied-configuration: >
{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"name":"kube-state-metrics","namespace":"lens-metrics"},"spec":{"replicas":1,"selector":{"matchLabels":{"name":"kube-state-metrics"}},"template":{"metadata":{"labels":{"name":"kube-state-metrics"}},"spec":{"containers":[{"image":"registry.pharos.sh/kontenapharos/prometheus-kube-state-metrics:v1.6.0","name":"kube-state-metrics","ports":[{"containerPort":8080,"name":"metrics"}],"readinessProbe":{"httpGet":{"path":"/healthz","port":8080},"initialDelaySeconds":5,"timeoutSeconds":5},"resources":{"limits":{"cpu":"200m","memory":"150Mi"},"requests":{"cpu":"10m","memory":"150Mi"}}}],"nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"kube-state-metrics"}}}}
spec:
replicas: 1
selector:
matchLabels:
name: kube-state-metrics
template:
metadata:
creationTimestamp: null
labels:
name: kube-state-metrics
spec:
containers:
- name: kube-state-metrics
image: >-
registry.pharos.sh/kontenapharos/prometheus-kube-state-metrics:v1.6.0
ports:
- name: metrics
containerPort: 8080
protocol: TCP
resources:
limits:
cpu: 200m
memory: 150Mi
requests:
cpu: 10m
memory: 150Mi
readinessProbe:
httpGet:
path: /healthz
port: 8080
scheme: HTTP
initialDelaySeconds: 5
timeoutSeconds: 5
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: IfNotPresent
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
nodeSelector:
kubernetes.io/os: linux
serviceAccountName: kube-state-metrics
serviceAccount: kube-state-metrics
securityContext: {}
schedulerName: default-scheduler
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600
status:
observedGeneration: 1
replicas: 1
updatedReplicas: 1
unavailableReplicas: 1
conditions:
- type: Available
status: 'False'
lastUpdateTime: '2019-10-03T12:52:09Z'
lastTransitionTime: '2019-10-03T12:52:09Z'
reason: MinimumReplicasUnavailable
message: Deployment does not have minimum availability.
- type: Progressing
status: 'False'
lastUpdateTime: '2019-10-03T13:02:10Z'
lastTransitionTime: '2019-10-03T13:02:10Z'
reason: ProgressDeadlineExceeded
message: ReplicaSet "kube-state-metrics-54558ff88b" has timed out progressing.
from lens.
Same here.
I clicked Create resource and paste
apiVersion: v1
kind: PersistentVolume
metadata:
name: nfs10
spec:
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
storageClassName: standard
persistentVolumeReclaimPolicy: Retain
nfs:
server: nas.home.lan
path: "/mnt/GitLab"
And I get TypeError: e.map is not a function
Same config works via kubectl apply -f pv.yaml
from lens.
Trying to re-produce this. Please could you tell also Kubernetes version.
from lens.
It was happening in the 2 clusters I tried; 1.13.10 and 1.11.3
from lens.
I was able to re-produce this on Windows. Fix will be included in the next patch release.
from lens.
Works like a charm.
Thank you!
from lens.
Related Issues (20)
- When connecting to cluster shows progress with "Refreshing cluster accessibility..." message for a minute HOT 1
- CPU/Memory usage of pods are shown as text, but not on chart HOT 3
- can not cd to any directory in the shell. HOT 1
- Succeeded jobs contribute to node CPU request value HOT 2
- Click on KUBECONFIG to open Finder, it is stuck. HOT 2
- Keep log search controls visible HOT 1
- Incorrect events order in Horizontal Pod Autoscallers view HOT 1
- Unknown error while submitting when installing new Helm Chart HOT 2
- Run on terminal but not from the launcher HOT 2
- Error: are too far apart with stepSize of 1 minute HOT 1
- Windows ARM support (Surface Pro 11 Snapdragon) HOT 2
- Force deletion of resource even with finalizers HOT 1
- Lens: 2024.5.271333-latest ๆ ๆณๆๅผPod shell ็ดๆฅ้ช้๏ผๆฒกๆๆไปปไฝ้่ฏฏ HOT 3
- Link next to user management to show available seats. HOT 1
- Lens ckick on tripple dots by itself if menu opened - and it closes menu HOT 1
- Lens autodetects my Prometheus installation but doesn't display metrics HOT 5
- Source code empty
- Request support for VolumeSnapshot HOT 1
- clusters.cluster.server: '[object Object]' in kubeconfig export from ServiceAccount view HOT 2
- Lens Stuck on "Activating Lens Desktop" HOT 11
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 lens.